.. | ||
get-data-nft-information.md | ||
get-datatoken-information.md | ||
list-data-nfts.md | ||
list-datatokens.md | ||
list-fixed-rate-exchanges.md | ||
README.md |
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 |
Moonbase |