Interface: NftTxExtensionMethods
@shareledgerjs/client.nft.NftTxExtensionMethods
Methods
burn
▸ burn(contract
, owner
, tokenId
, amount?
): MsgExecuteContractEncodeObject
Parameters
Name | Type |
---|---|
contract | string |
owner | string |
tokenId | string |
amount? | string |
Returns
MsgExecuteContractEncodeObject
instantiate
▸ instantiate(owner
, codeId
, label
, msg
): MsgInstantiateContractEncodeObject
Parameters
Name | Type |
---|---|
owner | string |
codeId | Long |
label | string |
msg | InstantiateMsg | InstantiateMsg |
Returns
MsgInstantiateContractEncodeObject
mint1155
▸ mint1155(contract
, owner
, recipient
, tokenId
, amount
, msg?
): MsgExecuteContractEncodeObject
Parameters
Name | Type |
---|---|
contract | string |
owner | string |
recipient | string |
tokenId | string |
amount | string |
msg? | string |
Returns
MsgExecuteContractEncodeObject
mint721
▸ mint721(contract
, owner
, recipient
, tokenUri
, extension?
): MsgExecuteContractEncodeObject
Parameters
Name | Type |
---|---|
contract | string |
owner | string |
recipient | string |
tokenUri | string |
extension? | Metadata |
Returns
MsgExecuteContractEncodeObject
transfer
▸ transfer(contract
, owner
, recipient
, tokenId
, amount?
, msg?
): MsgExecuteContractEncodeObject
Parameters
Name | Type |
---|---|
contract | string |
owner | string |
recipient | string |
tokenId | string |
amount? | string |
msg? | string |