SecretNET.NFT Namespace

ApproveRequest Constructor

Initializes a new instance of the ApproveRequest class.

Namespace:  SecretNET.NFT
Assembly:  SecretNET.NFT (in SecretNET.NFT.dll)

Syntax


public ApproveRequest(
	string spender,
	string tokenId,
	Object expires,
	string padding
)
Public Sub New ( _
	spender As String, _
	tokenId As String, _
	expires As Object, _
	padding As String _
)
public:
ApproveRequest(
	String^ spender, 
	String^ tokenId, 
	Object^ expires, 
	String^ padding
)

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.