From 01a93bebe0abd8f616cf769ea117ae8675708b7e Mon Sep 17 00:00:00 2001 From: Veronica Manuel Date: Fri, 9 Jun 2023 00:08:04 +0000 Subject: [PATCH] GITBOOK-474: change request with no subject merged in GitBook --- developers/subgraph/list-datatoken-buyers.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/developers/subgraph/list-datatoken-buyers.md b/developers/subgraph/list-datatoken-buyers.md index a8dfceac..e3c56a5f 100644 --- a/developers/subgraph/list-datatoken-buyers.md +++ b/developers/subgraph/list-datatoken-buyers.md @@ -63,16 +63,13 @@ Copy and paste the query below to fetch a list of data NFTs in the Ocean Subgrap ```graphql query GetFilteredOrders { - orders ( - where: { - datatoken_in: ["0xc22bfd40f81c4a28c809f80d05070b95a11829d9", "0xdatatoken_address2"], - consumer_in: ["0xconsumer1"] - } + orders( + where: { datatoken: { id: "0xc22bfd40f81c4a28c809f80d05070b95a11829d9" } } orderBy: createdTimestamp orderDirection: desc first: 1000 ) { - datatoken{ + datatoken { id name symbol @@ -80,7 +77,7 @@ query GetFilteredOrders { id } } - consumer{ + consumer { id } }