Snip721Querier..::..GetNumTokensOfOwner Method
Displays the number of tokens that the querier has permission to see the owner and that belong to the specified address.
Namespace:
SecretNET.NFTAssembly: SecretNET.NFT (in SecretNET.NFT.dll)
Syntax
public Task<SecretQueryContractResult<GetNumTokensOfOwnerResponse>> GetNumTokensOfOwner( string contractAddress, string owner, string viewer, string viewingKey, Nullable<Permit> permit, Nullable<string> codeHash )
Parameters
- contractAddress
- Type: String
The contract address.
- owner
- Type: String
The address whose inventory is being queried.
- viewer
- Type: String
The querier's address if different from the owner.
- viewingKey
- Type: String
The querier's viewing key.
- permit
- Type: Nullable<(Of <(<'Permit>)>)>
Authenticate with permit.