Skip to main content

Interface: NftTxExtensionMethods

@shareledgerjs/client.nft.NftTxExtensionMethods

Methods

burn

burn(contract, owner, tokenId, amount?): MsgExecuteContractEncodeObject

Parameters

NameType
contractstring
ownerstring
tokenIdstring
amount?string

Returns

MsgExecuteContractEncodeObject


instantiate

instantiate(owner, codeId, label, msg): MsgInstantiateContractEncodeObject

Parameters

NameType
ownerstring
codeIdLong
labelstring
msgInstantiateMsg | InstantiateMsg

Returns

MsgInstantiateContractEncodeObject


mint1155

mint1155(contract, owner, recipient, tokenId, amount, msg?): MsgExecuteContractEncodeObject

Parameters

NameType
contractstring
ownerstring
recipientstring
tokenIdstring
amountstring
msg?string

Returns

MsgExecuteContractEncodeObject


mint721

mint721(contract, owner, recipient, tokenUri, extension?): MsgExecuteContractEncodeObject

Parameters

NameType
contractstring
ownerstring
recipientstring
tokenUristring
extension?Metadata

Returns

MsgExecuteContractEncodeObject


transfer

transfer(contract, owner, recipient, tokenId, amount?, msg?): MsgExecuteContractEncodeObject

Parameters

NameType
contractstring
ownerstring
recipientstring
tokenIdstring
amount?string
msg?string

Returns

MsgExecuteContractEncodeObject