{% hint style="warning" %}
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.
{% endhint %}
Returns number of tokens by metadataId
.
This is an example of a data api method.
Example:
{% code title="queryNftsByStore.ts" overflow="wrap" lineNumbers="true" %}
import { tokenListingCountsByMetaId, TokenListingQueryResults } from '@mintbase-js/data'
const data: TokenListingQueryResults = tokenListingCountsByMetaId('dogeflower.mintbase1.near%3A5ef2d9b0651172d90dc173af0726b5fc', 'mainnet');
console.log(data.totalListingsCount) // => 10
{% endcode %}