ownedStores

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 stores owned by ownerId.

ownedStores(ownerId: string, network?: "testnet" | "mainnet")

This is an example of a data api method.

Example:

queryOwnedStores.ts
import { ownedStores } from  '@mintbase-js/data'

const {data, error} = await ownedStores('test.near', 'mainnet');

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

console.log(data) // => owned stores list

Last updated