Function secret_toolkit_snip721::handle::mint_nft_msg
source · pub fn mint_nft_msg(
token_id: Option<String>,
owner: Option<String>,
public_metadata: Option<Metadata>,
private_metadata: Option<Metadata>,
memo: Option<String>,
padding: Option<String>,
block_size: usize,
code_hash: String,
contract_addr: String
) -> StdResult<CosmosMsg>
Expand description
Returns a StdResultMintNft
Arguments
token_id
- Optional ID String of the token to mintowner
- Optional address that will own the newly minted tokenpublic_metadata
- Optional Metadata that everyone can viewprivate_metadata
- Optional Metadata that only the owner and whitelist can viewmemo
- 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