Snip20Tx..::..BurnFrom Method (MsgBurnFrom, Nullable<(Of <(<'TxOptions>)>)>)
This works like TransferFrom, but burns the tokens instead of transferring them.
This will reduce the owner's balance, total_supply and the caller's allowance.
This function should be available when a contract supports both the Mintable and Allowances interfaces.
Namespace:
SecretNET.TokenAssembly: SecretNET.Token (in SecretNET.Token.dll)
Syntax
public Task<SingleSecretTx<BurnFromResponse>> BurnFrom( MsgBurnFrom msg, Nullable<TxOptions> txOptions )
Public Function BurnFrom ( _ msg As MsgBurnFrom, _ txOptions As Nullable(Of TxOptions) _ ) As Task(Of SingleSecretTx(Of BurnFromResponse))
public: Task<SingleSecretTx<BurnFromResponse^>^>^ BurnFrom( MsgBurnFrom^ msg, Nullable<TxOptions^> txOptions )
Parameters
- msg
- Type: SecretNET.Token..::..MsgBurnFrom
The MSG.
- txOptions
- Type: Nullable<(Of <(<'TxOptions>)>)>
The tx options.