Checks if that store name already exists.

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.

checkStoreName( name: string, network?: "testnet" | "mainnet" )

This is an example of a data api method.



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

const { data, error } = await checkStoreName('my cool store', 'mainnet');

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

console.log(data?.nft_contracts.length === 0) // => true / false

Last updated