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.validateand the token amount is not compatible with the token.Throws
If
opts.validateand the token is paused.Throws
If
opts.validateand the token is not burnable.Throws
If
opts.validateand the sender has insufficent amount of tokens for the burn.