Function secret_toolkit_snip721::handle::set_viewing_key_msg  
source · [−]pub fn set_viewing_key_msg(
    key: String, 
    padding: Option<String>, 
    block_size: usize, 
    callback_code_hash: String, 
    contract_addr: HumanAddr
) -> StdResult<CosmosMsg>Expand description
Returns a StdResultSetViewingKey
Arguments
key- String holding the authentication key used for later queriespadding- Optional String used as padding if you don’t want to use block paddingblock_size- pad the message to blocks of this sizecallback_code_hash- String holding the code hash of the contract being calledcontract_addr- address of the contract being called