The Graph

What is The Graph?

The Graph is a decentralized protocol that helps developers efficiently access and organize blockchain data. Think of it as a search engine for blockchains—it makes it easy to find and use specific data, like tracking Fan Token transfers or viewing voting results, without having to manually go through the entire blockchain.

What this means to you

Instead of writing complex code to pull data, developers can use serverless APIs called subgraphs to access just the information they need using only GraphQL queries. This makes creating dashboards, voting platforms, and NFT galleries faster, simpler, and more reliable.

These subgraphs are also:

  • Fully customizable.

  • Maintained by a network of decentralized indexers, providing better speed & redundancy than a centralized service.

  • Supported by on-call engineers on The Graph's Discord 24/7.

See The Graph in action on Chiliz

Here's a full walkthrough of how to build and query a subgraph using PSG Token as an example:

How to follow transfers of a Fan Token

Additional Resources

You can visit The Graph’s official docs to explore how to build more advanced and optimized subgraphs.

Last updated