ApproveRequest Constructor
Initializes a new instance of the ApproveRequest class.
Namespace:
SecretNET.NFTAssembly: SecretNET.NFT (in SecretNET.NFT.dll)
Syntax
Parameters
- spender
- Type: String
Address being granted approval to transfer the token.
- tokenId
- Type: String
ID of the token that the spender can now transfer.
- expires
- Type: Object
The expiration of this transfer approval. Can be a blockheight, time, or never. Of type => "never" | {"at_height": 999999} | {"at_time":999999}
- padding
- Type: String
The padding.