list
Last updated
Was this helpful?
Last updated
Was this helpful?
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 and passed a signing method
list
takes a single argument of type ListArgs
Example usage of list method in a hypothetical React component: