Function secret_toolkit_snip721::query::nft_dossier_query
source · pub fn nft_dossier_query<C: CustomQuery>(
querier: QuerierWrapper<'_, C>,
token_id: String,
viewer: Option<ViewerInfo>,
include_expired: Option<bool>,
block_size: usize,
code_hash: String,
contract_addr: String
) -> StdResult<NftDossier>
Expand description
Returns a StdResult<NftDossier
> from performing NftDossier
query
Arguments
querier
- a reference to the Querier dependency of the querying contracttoken_id
- ID of the token whose info is being requestedviewer
- Optional ViewerInfo holding the address and viewing key of the querierinclude_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 sizecode_hash
- String holding the code hash of the contract being queriedcontract_addr
- address of the contract being queried