> For the complete documentation index, see [llms.txt](https://docs.oilcoin.online/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.oilcoin.online/general-1/resources-and-tools/thegraph.md). Agents can also search and read this documentation through its [MCP server](https://docs.oilcoin.online/~gitbook/mcp).

# TheGraph

Build of The Graph, we expose a GraphQL API to access the data on the Oil Network

## Deploying your own subgraph

TheGraph, a decentralized protocol for indexing and querying chain data, supports the Oil Netork.Go to <https://thegraph.com/> to sign up and create your subgraph.

* Follow the instructions for how to deploy the subgraph
* in `subgraph.yaml`, the network name should be `oil`

## Available Subgraphs

Subgraphs that builded and maintained by the Oil team, deployed on Oil internal infrastructure or The Graph hosted service.

### Oil Consensus

on Oil graph-node: <https://thegraph.oilscan.net/subgraphs/name/eramchain/oil-consensus>
