TERNOA Documentation
Learn Build
  • What is Ternoa Chain ?
  • SPECS
    • Polygon CDK zkEVM
    • Polygon AggLayer
    • Avail DA
    • Trusted Execution Environments 
  • BUILD
    • Wallets
    • RPC
    • API
    • Explorer
  • Tools
    • Staking
    • Ternoa Safe
    • TIP
  • Community
    • Ternoa.com
    • Github
    • Discord
    • Twitter
    • Medium
Powered by GitBook
On this page
  1. GETTING STARTED
  2. Javascript SDK
  3. Ternoa indexer
  4. Start to query

Using a playground

Last updated 1 year ago

Use it from the playground

Depending on the data you are looking for, you can directly query any data needed on:

You just need to create the graphql request, for example, a simple request to get the 10 last listed nft:

{
	nftEntities(first: 10, offset: 0, orderBy: TIMESTAMP_LIST_DESC) {
		totalCount
		nodes {
			nftId
			owner
			creator
			collectionId
			offchainData
		}
	}
}

The same example in the playground:

You can access the whole schema in the right panel of the playground:

The Alphanet indexer
The Mainnet indexer