Skip to content

blockfishio/metaspace-avatars

Repository files navigation

Blockchain indexer

It uses thegraph

Run

npm run build-data -- --network mainnet

npm run codegen
npm run build

npm run deploy -- --network mainnet

checkout the docs https://thegraph.com/docs/quick-start

Get first 5 NFTs

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
    }
  }
}

Get first 5 Collection NFTs Orders

{
  orders(first: 5) {
     id
    tokenIds
    paymentToken
    nftAddress
    owner
    buyer
}

Get first 5 account with avatars

accounts(first:5){
    id
    avatars{
      id
      tokenURI
    }
  }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors