SecretNET.NFT Namespace

Snip721Tx..::..SetGlobalApproval Method

The owner of a token can use SetGlobalApproval to make ownership and/or private metadata viewable by everyone. This can be set for a single token or for an owner's entire inventory of tokens by choosing the appropriate AccessLevel. SetGlobalApproval can also be used to revoke any global approval previously granted.

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

Syntax


public Task<SingleSecretTx<SetGlobalApprovalResponse>> SetGlobalApproval(
	MsgSetGlobalApproval msg,
	Nullable<TxOptions> txOptions
)
Public Function SetGlobalApproval ( _
	msg As MsgSetGlobalApproval, _
	txOptions As Nullable(Of TxOptions) _
) As Task(Of SingleSecretTx(Of SetGlobalApprovalResponse))
public:
Task<SingleSecretTx<SetGlobalApprovalResponse^>^>^ SetGlobalApproval(
	MsgSetGlobalApproval^ msg, 
	Nullable<TxOptions^> txOptions
)

Parameters

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

Return Value

SingleSecretTx<SetGlobalApprovalResponse>.