The token to burn.
The account address of the sender.
The amount(s) of tokens to burn.
The signer responsible for signing the transaction.
Optional
metadata: TokenUpdateMetadataOptional
[opts={: SupplyUpdateOptions = {}autoScale: true, validate: false }] - Options for supply update operations.
Generated using TypeDoc
Burns a specified amount of tokens.
Returns
A promise that resolves to the transaction hash.
Throws
If
opts.validate
and the token amount is not compatible with the token.Throws
If
opts.validate
and the token is paused.Throws
If
opts.validate
and the token is not burnable.Throws
If
opts.validate
and the sender has insufficent amount of tokens for the burn.