Skip to content

Latest commit

 

History

History
35 lines (17 loc) · 845 Bytes

File metadata and controls

35 lines (17 loc) · 845 Bytes

keyActivity

{% 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 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:

{% code title="queryNftsByStore.ts" overflow="wrap" lineNumbers="true" %}

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

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

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

console.log(data.listedTokens)

{% endcode %}