diff --git a/indexer/README.md b/indexer/README.md index 942bca2375..d7a57acb74 100644 --- a/indexer/README.md +++ b/indexer/README.md @@ -15,13 +15,13 @@ npm run deploy -- --network mainnet checkout the docs https://thegraph.com/docs/quick-start - ### Queries The collection's `id` is the smart contract address of the collection. The item's `id` is `{collection_contract_address}-{item_blochain_id}`. The `item_blockchain_id` is the index of the item in the collection. E.g: if you have a collection with 2 items, the first is `0` and the second one is `1`. Therefore, the id of the first item will be: `{contract_address}-0` Ethereum addresses should be passed lowercased: + - `0xB549B2442b2BD0a53795BC5cDcBFE0cAF7ACA9f8` ❌ - `0xb549b2442b2bd0a53795bc5cdcbfe0caf7aca9f8` ✅ @@ -37,7 +37,7 @@ Ethereum addresses should be passed lowercased: id } } - + estates(first: 5) { id parcels { @@ -47,20 +47,20 @@ Ethereum addresses should be passed lowercased: id } } - + enss(first: 5) { id - subdomain + subdomain owner { id - } + } } - + wearables(first: 5) { id owner { id - } + } } } ``` @@ -75,7 +75,7 @@ Category could be: `parcel`, `estate`, `ens`, `wearable` nfts(first: 5) { id category - tokenId + tokenId owner { id } @@ -96,7 +96,7 @@ Category could be: `parcel`, `estate`, `ens`, `wearable` status nft { id - } + } } } ```