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
This following subgraphs needs to be migrated to the decentralized service.
https://thegraph.com/docs/en/sunrise/#upgrading-subgraphs-to-the-graph-network
https://thegraph.com/docs/en/arbitrum/l2-transfer-tools-guide/
Optimism
V2 Vaults Subgraph
- Explorer Page
- Graphql Endpoint: https://thegraph.com/hosted-service/subgraph/yearn/yearn-vaults-v2-optimism
- Code Repo
Fantom
V2 Vaults Subgraph
- Explorer Page
- Graphql Endpoint: https://api.thegraph.com/subgraphs/name/yearn/yearn-vaults-v2-fantom
- Code Repo
Bribe v3
- Explorer Page
- Graphql Endpoint: - https://api.thegraph.com/subgraphs/name/rareweasel/yearn-bribe-v3
- Code Repo