SecretNET.NFT Namespace

Snip721Tx..::..SetMetadata Method

SetMetadata will set the public and/or private metadata to the corresponding input if the message sender is either the token owner or an approved minter and they have been given this power by the configuration value chosen during instantiation. The private metadata of a sealed token may not be altered until after it has been unwrapped.

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

Syntax


public Task<SingleSecretTx<SetMetadataResponse>> SetMetadata(
	MsgSetMetadata msg,
	Nullable<TxOptions> txOptions
)
Public Function SetMetadata ( _
	msg As MsgSetMetadata, _
	txOptions As Nullable(Of TxOptions) _
) As Task(Of SingleSecretTx(Of SetMetadataResponse))
public:
Task<SingleSecretTx<SetMetadataResponse^>^>^ SetMetadata(
	MsgSetMetadata^ msg, 
	Nullable<TxOptions^> txOptions
)

Parameters

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

Return Value

SingleSecretTx<SetMetadataResponse>.