SecretNET.NFT Namespace

SetWhitelistedApprovalRequest Constructor

Initializes a new instance of the SetWhitelistedApprovalRequest class.

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

Syntax


public SetWhitelistedApprovalRequest(
	string address,
	string tokenId,
	Nullable<AccessLevel> viewOwner,
	Nullable<AccessLevel> viewPrivateMetadata,
	Nullable<AccessLevel> transfer,
	Object expires,
	string padding
)
Public Sub New ( _
	address As String, _
	tokenId As String, _
	viewOwner As Nullable(Of AccessLevel), _
	viewPrivateMetadata As Nullable(Of AccessLevel), _
	transfer As Nullable(Of AccessLevel), _
	expires As Object, _
	padding As String _
)
public:
SetWhitelistedApprovalRequest(
	String^ address, 
	String^ tokenId, 
	Nullable<AccessLevel^> viewOwner, 
	Nullable<AccessLevel^> viewPrivateMetadata, 
	Nullable<AccessLevel^> transfer, 
	Object^ expires, 
	String^ padding
)

Parameters

address
Type: String
Address to grant or revoke approval to/from.
tokenId
Type: String
If supplying either approve_token or revoke_token access, the token whose privacy is being set.
viewOwner
Type: Nullable<(Of <(<'AccessLevel>)>)>
Grant or revoke everyone's permission to view the ownership of a token/inventory.
viewPrivateMetadata
Type: Nullable<(Of <(<'AccessLevel>)>)>
Grant or revoke everyone's permission to view the private metadata of a token/inventory.
transfer
Type: Nullable<(Of <(<'AccessLevel>)>)>
Grant or revoke the address' permission to transfer a token/inventory.
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.