Basic queries

In this section, you'll make some simple and basic queries:

You can try this directly in our alphanet indexer's playgroundarrow-up-right or our mainnet indexer's playgroundarrow-up-right

Query owned NFTs on the nftEntities

query {
  nftEntities(
    first: 5,
    filter: {
      owner: { equalTo: "5CDGXH8Q9DzD3TnATTG6qm6f4yR1kbECBGUmh2XbEBQ8Jfa5" }
    }
  ) {
    totalCount
     nodes {
      nftId
      owner
      creator
      collectionId
      offchainData
    }
  }
}

To access the node information you want to display, you can look directly into the docs panel on the right side of the playground :

Query created NFTs on the nftEntities

Let's query the 10 first listed NFTs on the nftEntities

Query marketplaces on the marketplaceEntities

Query a specific NFT on the nftEntity

Query specific NFT history on the nftOperationEntities

Last updated