Subgraphs
The Balancer Subgraphs indexes data on the Balancer smart contracts with a GraphQL interface. It updates data in response to function calls and contract events to power front-end apps and integrations.
Balancer uses Subgraph Studio for development and deployment of its subgraphs. For querying non-rate-limited endpoints, users need to obtain an API key from The Graph. More information on querying The Graph can be found here.
V2 Subgraphs
The V2 Subgraphs contain data from the Balancer Vault, including pool token balances and pool parameters.
The schema of GraphQL elements available is defined in /schema.graphql
.
Gauges Subgraphs
The Gauges Subgraphs include data from liquidity gauges and veBAL contracts.
The schema of GraphQL elements available is defined in /schema.graphql
.