Function secret_toolkit_snip721::handle::set_metadata_msg
source · pub fn set_metadata_msg(
token_id: String,
public_metadata: Option<Metadata>,
private_metadata: Option<Metadata>,
padding: Option<String>,
block_size: usize,
code_hash: String,
contract_addr: String
) -> StdResult<CosmosMsg>
Expand description
Returns a StdResultSetMetadata
Arguments
token_id
- ID String of the token whose public metadata should be alteredpublic_metadata
- optional new Metadata that everyone can viewprivate_metadata
- optional new Metadata that only the owner and whitelist can viewpadding
- 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