1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-01 15:55:34 +01:00
docs/tutorials/using-ocean-subgraph
2023-04-11 11:29:00 +03:00
..
get-data-nft-information.md Reorganise the current structure 2023-04-07 14:25:45 +03:00
get-datatoken-information.md Reorganise the current structure 2023-04-07 14:25:45 +03:00
list-data-nfts.md Reorganise the current structure 2023-04-07 14:25:45 +03:00
list-datatokens.md Reorganise the current structure 2023-04-07 14:25:45 +03:00
list-fixed-rate-exchanges.md Revert unwanted gitbook changes 2023-04-11 11:29:00 +03:00
README.md Reorganise the current structure 2023-04-07 14:25:45 +03:00

Using Ocean Subgraph

Ocean subgraph is an off-chain service that provides information about datatokens, users, and balances using GraphQL. The Ocean subgraph provides a faster way to fetch data rather than an on-chain query. The data from Ocean subgraph can be queried using GraphQL.

You can use the Subgraph instances hosted by Ocean Protocol or host your instance. The page on Deploying Ocean Subgraph provides a guide on hosting your own Ocean Subgraph instance.

For each supported network, an individual Ocean subgraph is deployed. The information about supported networks are available on this page.

Ocean Subgraph GraphiQL

The below table provides the link to GraphiQL for the support networks. The Graphql queries can be directly executed using the GraphiQL interface without the need of any setup.

Network and link
Ethereum Mainnet
Polygon Mainnet
Binance Smart Chain
Energy Web Chain
Moonriver
Mumbai
Görli