Checks if that store name
already exists.
{% 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 %}
This is an example of a data api method.
Example:
{% code title="queryStoreData.ts" overflow="wrap" lineNumbers="true" %}
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
{% endcode %}