tokenListingCounts

This is a work in progress, please reach out to us on Telegram for support.

For the most reliable data, reference our existing graphql docs.

Returns number of tokens by metadataId.

tokenListingCountsByMetaId( metadataId: string, network?: 'mainnet' | 'testnet')

This is an example of a data api method.

Example:

queryNftsByStore.ts

import { tokenListingCountsByMetaId, TokenListingQueryResults } from  '@mintbase-js/data'



const data: TokenListingQueryResults = tokenListingCountsByMetaId('dogeflower.mintbase1.near%3A5ef2d9b0651172d90dc173af0726b5fc', 'mainnet');



console.log(data.totalListingsCount) // => 10


Last updated