pub fn mint_nft_msg(
    token_id: Option<String>,
    owner: Option<HumanAddr>,
    public_metadata: Option<Metadata>,
    private_metadata: Option<Metadata>,
    memo: Option<String>,
    padding: Option<String>,
    block_size: usize,
    callback_code_hash: String,
    contract_addr: HumanAddr
) -> StdResult<CosmosMsg>
Expand description

Returns a StdResult used to execute MintNft

Arguments

  • token_id - Optional ID String of the token to mint
  • owner - Optional address that will own the newly minted token
  • public_metadata - Optional Metadata that everyone can view
  • private_metadata - Optional Metadata that only the owner and whitelist can view
  • memo - Optional String memo for the tx
  • padding - Optional String used as padding if you don’t want to use block padding
  • block_size - pad the message to blocks of this size
  • callback_code_hash - String holding the code hash of the contract being called
  • contract_addr - address of the contract being called