Snip721Querier..::..GetAllTokens Method
AllTokens returns an optionally paginated list of all the token IDs controlled by the contract.
If the contract's token supply is private, only an authenticated minter's address will be allowed to perform this query.
When paginating, supply the last token ID received in a response as the start_after token ID of the next query to continue listing where the previous query stopped.
Namespace:
SecretNET.NFTAssembly: SecretNET.NFT (in SecretNET.NFT.dll)
Syntax
public Task<SecretQueryContractResult<GetAllTokensResponse>> GetAllTokens( string contractAddress, string address, string viewingKey, Nullable<Permit> permit, string startAfter, Nullable<int> limit, Nullable<string> codeHash )
Parameters
- contractAddress
- Type: String
The contract address.
- address
- Type: String
The address.
- viewingKey
- Type: String
The viewing key.
- permit
- Type: Nullable<(Of <(<'Permit>)>)>
Authenticate with permit.
- startAfter
- Type: String
The start after.