keyActivity

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 of a contract by metadataId and statuses: burned, unburned, listed.

getKey(accountId: string, network?: "testnet" | "mainnet")

Fetches all historical additions and deletions of full access keys to an account.

Example:

queryNftsByStore.ts

import { getKeyActivity } from  '@mintbase-js/data'

const { data, error } = await getKeyActivity('foo.near', 'mainnet');

if (error) {console.log('error', error)}

console.log(data.listedTokens)

Last updated