SecretNET.Token Namespace

Snip20Tx..::..Burn Method (MsgBurn, Nullable<(Of <(<'TxOptions>)>)>)

MUST remove amount tokens from the balance of the Cosmos message sender and MUST reduce the total supply by the same amount. MUST NOT transfer the funds to another account.

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

Syntax


public Task<SingleSecretTx<BurnResponse>> Burn(
	MsgBurn msg,
	Nullable<TxOptions> txOptions
)
Public Function Burn ( _
	msg As MsgBurn, _
	txOptions As Nullable(Of TxOptions) _
) As Task(Of SingleSecretTx(Of BurnResponse))
public:
Task<SingleSecretTx<BurnResponse^>^>^ Burn(
	MsgBurn^ msg, 
	Nullable<TxOptions^> txOptions
)

Parameters

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

Return Value

SingleSecretTx<BurnResponse>.