list
Lists a token on the Mintbase market for a provided price.
The token is specified via tokenId
as well as the nftContractId
from where the token was minted.
The nftContactId can be supplied as an argument or through the CONTRACT_ADDRESS
environment variable.
Market address default values depend on the NEAR_NETWORK
environment variable. If you set it to mainnet
you will get the mainnet address simple.market.mintbase1.near
otherwise it will default to the testnet
value market-v2-beta.mintspace2.testnet
.
As with all new SDK api methods, this call should be wrapped in execute and passed a signing method
list(args: ListArgs): NearContractCall
list
takes a single argument of type ListArgs
React example
Example usage of list method in a hypothetical React component:
ListComponent.ts
Last updated