Skip to content

Instantly share code, notes, and snippets.

@dschinkel
Created September 22, 2022 23:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dschinkel/63d5940a89237f8c3cd22d45d17017e0 to your computer and use it in GitHub Desktop.
Save dschinkel/63d5940a89237f8c3cd22d45d17017e0 to your computer and use it in GitHub Desktop.
Graph Query Example: Querying the Graph for Program Data
{
programs(where: {
id: "0xceb11bb2725f0ee33f49b5052b3276c02f751c16" // program contract id
}) {
id
metaPtr {
protocol
pointer // ipfs pointer to document which holds more data about a specific program
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment