> For the complete documentation index, see [llms.txt](https://docs.opium.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opium.network/for-developers/opium-api/subgraph-v2.md).

# Subgraph V2

GraphQL subgraph with realtime data for [**Opium Protocol**](https://opium.network/) **V2** to make systems that use the protocol more robust and reliable. Also, it helps developers to easily understand Opium Protocol and integrate it into their projects.

Source code: <https://github.com/OpiumProtocol/opium-v2-subgraph>

| Network            | URL                                                                                    |
| ------------------ | -------------------------------------------------------------------------------------- |
| Arbitrum One       | <https://thegraph.com/hosted-service/subgraph/opiumprotocol/opium-v2-arbitrum-one>     |
| Arbitrum (testnet) | <https://thegraph.com/hosted-service/subgraph/opiumprotocol/opium-v2-arbitrum-rinkeby> |
