SecretNET.NFT Namespace

Snip721Tx..::..SetWhitelistedApproval Method

The owner of a token can use SetWhitelistedApproval to grant an address permission to view ownership, view private metadata, and/or to transfer a single token or every token in the owner's inventory. SetWhitelistedApproval can also be used to revoke any approval previously granted to the address.

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

Syntax


public Task<SingleSecretTx<SetWhitelistedApprovalResponse>> SetWhitelistedApproval(
	MsgSetWhitelistedApproval msg,
	Nullable<TxOptions> txOptions
)
Public Function SetWhitelistedApproval ( _
	msg As MsgSetWhitelistedApproval, _
	txOptions As Nullable(Of TxOptions) _
) As Task(Of SingleSecretTx(Of SetWhitelistedApprovalResponse))
public:
Task<SingleSecretTx<SetWhitelistedApprovalResponse^>^>^ SetWhitelistedApproval(
	MsgSetWhitelistedApproval^ msg, 
	Nullable<TxOptions^> txOptions
)

Parameters

msg
Type: SecretNET.NFT..::..MsgSetWhitelistedApproval
The MSG.
txOptions
Type: Nullable<(Of <(<'TxOptions>)>)>
The tx options.

Return Value

SingleSecretTx<SetWhitelistedApprovalResponse>.