Function secret_toolkit_snip721::handle::send_nft_msg
source · pub fn send_nft_msg(
contract: String,
token_id: String,
msg: Option<Binary>,
memo: Option<String>,
padding: Option<String>,
block_size: usize,
code_hash: String,
contract_addr: String
) -> StdResult<CosmosMsg>
Expand description
Returns a StdResultSendNft
Arguments
contract
- the address the token is to be sent to. It does not have to be a contract address, but the field is named this for CW721 compliancetoken_id
- ID String of the token to sendmsg
- Optional base64 encoded message to pass to the recipient contract’s (Batch)ReceiveNft functionmemo
- Optional String memo for the txpadding
- Optional String used as padding if you don’t want to use block paddingblock_size
- pad the message to blocks of this sizecode_hash
- String holding the code hash of the contract being calledcontract_addr
- address of the contract being called