SecretNET.NFT Namespace

SetGlobalApprovalRequest Constructor

Initializes a new instance of the SetGlobalApprovalRequest class.

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

Syntax


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

Parameters

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.
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.