storeData

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 contract data by contractAddress.

storeData( contractAddress: string | string[], network?: "testnet" | "mainnet")

This is an example of a data api method.

Example:

queryStoreData.ts

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

const { data, error } = await storeData('teammintbase.mintbase1.near', 'mainnet');

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


console.log(data) // => store data

Last updated