Snip721Querier..::..GetApprovedForAll Method
ApprovedForAll displays all the addresses that have approval to transfer all of the specified owner's tokens.
This is provided to comply with CW-721 specification, but because approvals are private on Secret Network, if the owner's viewing key is not provided,
no approvals will be displayed. For a more complete list of inventory-wide approvals,
the owner should use InventoryApprovals which also includes view_owner and view_private_metadata approvals.
Namespace:
SecretNET.NFTAssembly: SecretNET.NFT (in SecretNET.NFT.dll)
Syntax
public Task<SecretQueryContractResult<GetApprovedForAllResponse>> GetApprovedForAll( 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.