Snip721Querier..::..GetInventoryApprovals Method
InventoryApprovals returns whether all the address' tokens have public ownership and/or public display of private metadata,
and lists all the inventory-wide approvals the address has granted. Only the viewing key for this specified address will be accepted.
(This query MUST be authenticated)
Namespace:
SecretNET.NFTAssembly: SecretNET.NFT (in SecretNET.NFT.dll)
Syntax
public Task<SecretQueryContractResult<GetInventoryApprovalsResponse>> GetInventoryApprovals( string contractAddress, string tokenId, string viewingKey, Nullable<Permit> permit, Nullable<bool> includeExpired, Nullable<string> codeHash )
Parameters
- contractAddress
- Type: String
The contract address.
- tokenId
- Type: String
ID of the token being queried.
- viewingKey
- Type: String
The token owner's viewing key.
- permit
- Type: Nullable<(Of <(<'Permit>)>)>
Authenticate with permit.