SecretNET.NFT Namespace

Snip721Tx..::..Revoke Method

Revoke is used to revoke from an address the permission to transfer this single token. This can only be performed by the token's owner or, in compliance with CW-721, an address that has inventory-wide approval to transfer the owner's tokens (referred to as an operator later). However, one operator may not revoke transfer permission of even one single token away from another operator. Revoke is provided to maintain compliance with CW-721, but the owner can use SetWhitelistedApproval to accomplish the same thing if specifying a token_id and revoke_token AccessLevel for transfer.

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

Syntax


public Task<SingleSecretTx<RevokeResponse>> Revoke(
	MsgRevoke msg,
	Nullable<TxOptions> txOptions
)
Public Function Revoke ( _
	msg As MsgRevoke, _
	txOptions As Nullable(Of TxOptions) _
) As Task(Of SingleSecretTx(Of RevokeResponse))
public:
Task<SingleSecretTx<RevokeResponse^>^>^ Revoke(
	MsgRevoke^ msg, 
	Nullable<TxOptions^> txOptions
)

Parameters

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

Return Value

SingleSecretTx<RevokeResponse>.