It uses thegraph
Run
npm run build-data -- --network mainnet
npm run codegen
npm run build
npm run deploy -- --network mainnetcheckout the docs https://thegraph.com/docs/quick-start
Owner's id is the owner's Ethereum address.
Category could be: parcel, estate, ens, wearable
{
nfts(first: 5) {
id
tokenId
contractAddress
owner {
id
}
orders{
id
}
}
}{
orders(first: 5) {
id
tokenIds
paymentToken
nftAddress
owner
buyer
}accounts(first:5){
id
avatars{
id
tokenURI
}
}