Skip to main content

Subgraphs

The Graph Network is a decentralized indexing protocol for organizing blockchain data. Applications use GraphQL to query open APIs called subgraphs, to retrieve data that is indexed on the network. With The Graph, developers can build serverless applications that run entirely on public infrastructure.

Yearn maintains subgraphs for each network we have yVaults on: Ethereum, Fantom, Arbitrum, and Optimism which index and organize data from Yearn smart contracts.

Subgraph information is serviced by a decentralized group of server operators called Indexers.

Ethereum​

V2 Vaults Subgraph​

Yearn Built Subgraph​

  • Explorer Page
  • GraphQl Endpoint: https://gateway.thegraph.com/api/{api-key}/subgraphs/id/5xMSe3wTNLgFQqsAc5SCVVwT4MiRb5AogJCuSN9PjzXF
  • Code Repo

Messari Mainnet Subgraph​

  • Explorer Page
  • Graphql Endpoint: https://gateway-arbitrum.network.thegraph.com/api/{api-key}/subgraphs/id/FDLuaz69DbMADuBjJDEcLnTuPnjhZqNbFVrkNiBLGkEg

Arbitrum​

V2 Vaults Subgraph​

Messari Arbitrum Subgraph​

  • Explorer Page
  • Graphql Endpoint: https://gateway-arbitrum.network.thegraph.com/api/{api-key}/subgraphs/id/G3JZhmKKHC4mydRzD6kSz5fCWve5WDYYCyTFSJyv3SD5
  • Code Repo

Optimism​

V2 Vaults Subgraph​

Fantom​

V2 Vaults Subgraph​

Bribe v3​

Helpful Resources​