Introduction
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. Some subgraphs are decentralized and some run on a hosted service, Yearn currently uses both.
Ethereum
- Explorer Page
- Graphql Endpoint: https://gateway.thegraph.com/api/{api-key}/subgraphs/id/5xMSe3wTNLgFQqsAc5SCVVwT4MiRb5AogJCuSN9PjzXF
- Code Repo
Fantom
- Explorer Page
- Graphql Endpoint: https://api.thegraph.com/subgraphs/name/yearn/yearn-vaults-v2-fantom
- Code Repo
Arbitrum
- Explorer Page
- Graphql Endpoint: https://thegraph.com/hosted-service/subgraph/yearn/yearn-vaults-v2-arbitrum
- Code Repo
Optimism
- Explorer Page
- Graphql Endpoint: https://thegraph.com/hosted-service/subgraph/yearn/yearn-vaults-v2-optimism
- Code Repo
Bribe v3
- Explorer Page
- Graphql Endpoint: - https://api.thegraph.com/subgraphs/name/rareweasel/yearn-bribe-v3