Skip to main content

Subgraph 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

Fantom

Arbitrum

Optimism

Bribe v3

Helpful Resources