FAKE Gotchi Subgraph

The subgraph provides all the information needed for the fakegotchis.com webpage. It allows to fetch all the happened events on-chain as well as useful entities for the Cards and NFTs. Furthermore in provides some useful stats. The full documentation can be found here LINK

The endpoint is: https://api.thegraph.com/subgraphs/name/aavegotchi/fake-gotchis-matic

The Playground can be found HERE

Events

The Events can be queried as followed:

{
  erc1155Transfers(first: 5) {
    from {
      id
    }
    to {
      id
    }
    valueExact
  }  
  
  metadataFlags(first: 5) {
    flaggedBy {
      id
    }
    metadata {
      id
    }
  }
  
  metadataLikes(first: 5) {
    likedBy {
      id
    }
    metadata {
      id
    }
  }
}

the response contains the ID of the aavegotchi and the svg...

Cards and NFTs

Cards are are ERC1155s and NFTs ERC721. The Subgraph allows to query for both:

the response contains all the information: In this case the accounts owns multiple NFTs, but no cards.

Statistics

The subgraph provides also some useful stats. For example how large is the supply and how many cards and nfts are already burned.

The response looks like this:

NFT Proposals

It takes time to mint a NFT. It requires that the card is burned and some art is added. After some days the NFT can be minted. Proposals can be liked, flagged or change their status.

The status codes are defined as follows:

The result shows all neccesary informations:

Last updated

Was this helpful?