pub fn nft_info_query<C: CustomQuery>(
    querier: QuerierWrapper<'_, C>,
    token_id: String,
    block_size: usize,
    code_hash: String,
    contract_addr: String
) -> StdResult<Metadata>
Expand description

Returns a StdResult<Metadata> from performing NftInfo query

Arguments

  • querier - a reference to the Querier dependency of the querying contract
  • token_id - ID of the token whose info is being requested
  • block_size - pad the message to blocks of this size
  • code_hash - String holding the code hash of the contract being queried
  • contract_addr - address of the contract being queried