1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00
docs/developers/using-ocean-subgraph
2023-05-18 10:54:07 +00:00
..
get-data-nft-information.md GITBOOK-168: Removed developer tutorials and moved the content in the developers section 2023-05-18 10:54:07 +00:00
get-datatoken-information.md GITBOOK-168: Removed developer tutorials and moved the content in the developers section 2023-05-18 10:54:07 +00:00
list-data-nfts.md GITBOOK-168: Removed developer tutorials and moved the content in the developers section 2023-05-18 10:54:07 +00:00
list-datatokens.md GITBOOK-168: Removed developer tutorials and moved the content in the developers section 2023-05-18 10:54:07 +00:00
list-fixed-rate-exchanges.md GITBOOK-168: Removed developer tutorials and moved the content in the developers section 2023-05-18 10:54:07 +00:00
README.md GITBOOK-168: Removed developer tutorials and moved the content in the developers section 2023-05-18 10:54:07 +00: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