SecretNET.NFT Namespace

Snip721Tx..::..RevokeAll Method

RevokeAll is used to revoke all transfer approvals granted to an address. RevokeAll is provided to maintain compliance with CW-721, but the message sender can use SetWhitelistedApproval to accomplish the same thing by using none AccessLevel for transfer.

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

Syntax


public Task<SingleSecretTx<RevokeAllResponse>> RevokeAll(
	MsgRevokeAll msg,
	Nullable<TxOptions> txOptions
)
Public Function RevokeAll ( _
	msg As MsgRevokeAll, _
	txOptions As Nullable(Of TxOptions) _
) As Task(Of SingleSecretTx(Of RevokeAllResponse))
public:
Task<SingleSecretTx<RevokeAllResponse^>^>^ RevokeAll(
	MsgRevokeAll^ msg, 
	Nullable<TxOptions^> txOptions
)

Parameters

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

Return Value

SingleSecretTx<RevokeAllResponse>.