Function secret_toolkit_snip721::query::token_approvals_query  
source · [−]pub fn token_approvals_query<Q: Querier>(
    querier: &Q, 
    token_id: String, 
    viewing_key: String, 
    include_expired: Option<bool>, 
    block_size: usize, 
    callback_code_hash: String, 
    contract_addr: HumanAddr
) -> StdResult<TokenApprovals>Expand description
Returns a StdResult<TokenApprovals> from performing TokenApprovals query
Arguments
querier- a reference to the Querier dependency of the querying contracttoken_id- ID of the token whose info is being requestedviewing_key- String holding the viewing key of the token’s ownerinclude_expired- Optionally include expired Approvals in the response list. If ommitted or false, expired Approvals will be filtered out of the responseblock_size- pad the message to blocks of this sizecallback_code_hash- String holding the code hash of the contract being queriedcontract_addr- address of the contract being queried