Skip to content

Instantly share code, notes, and snippets.

@brunocalmels
Last active February 5, 2024 20:04
Show Gist options
  • Save brunocalmels/02168de6ba1a5d047f9965a8e8ab3693 to your computer and use it in GitHub Desktop.
Save brunocalmels/02168de6ba1a5d047f9965a8e8ab3693 to your computer and use it in GitHub Desktop.
Example Graph Query to extract 2pi txs in Defiant
{
flows(
where: {
pid: 0
holder: "0x8841ee61ac1c20faf10ffdc397f4d8d88697d206"
type_in: [withdraw, deposit]
}
) {
type
amount
timestamp
balance
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment