diff --git a/SUMMARY.md b/SUMMARY.md index 2988e68a..9519f5e5 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -59,7 +59,7 @@ * [Get datatoken information](developers/using-ocean-subgraph/get-datatoken-information.md) * [Get fixed-rate exchanges](developers/using-ocean-subgraph/list-fixed-rate-exchanges.md) * [Get veOCEAN stats](developers/subgraph/get-veocean-stats.md) - * [Resolve a DID's information](developers/subgraph/resolve-a-dids-information.md) + * [List buyers of a datatoken](developers/subgraph/list-buyers-of-a-datatoken.md) * [Ocean.py](developers/ocean.py/README.md) * [Install](developers/ocean.py/install.md) * [Local Setup](developers/ocean.py/local-setup.md) diff --git a/developers/subgraph/resolve-a-dids-information.md b/developers/subgraph/list-buyers-of-a-datatoken.md similarity index 71% rename from developers/subgraph/resolve-a-dids-information.md rename to developers/subgraph/list-buyers-of-a-datatoken.md index 1e28902e..a17c0249 100644 --- a/developers/subgraph/resolve-a-dids-information.md +++ b/developers/subgraph/list-buyers-of-a-datatoken.md @@ -1,8 +1,10 @@ --- -description: Use these steps to reveal the information contained within an asset's DID +description: >- + Use these steps to reveal the information contained within an asset's DID and + list the buyers of a datatoken --- -# Resolve a DID's information +# List buyers of a datatoken ## Step 1: Find the Network and Datatoken address @@ -40,3 +42,17 @@ Here are the networks and their corresponding chain IDs: ``` \ +Step 2: Query the Subgraph to see all buyers of the datatoken +------------------------------------------------------------- + +Select the corresponding subgraph URL for the asset's network. Below are some of the popular subgraph URLs, to show you subgraph URL format. + +``` +https://v4.subgraph.mainnet.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph/graphql? +https://v4.subgraph.polygon.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph/graphql? +https://v4.subgraph.bsc.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph/graphql? +https://v4.subgraph.moonriver.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph/graphql? +https://v4.subgraph.energyweb.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph/graphql? +https://v4.subgraph.goerli.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph/graphql? +https://v4.subgraph.mumbai.oceanprotocol.com/subgraphs/name/oceanprotocol/ocean-subgraph/graphql? +```