useBurnToken
Hook for burning ERC20 tokens on a smart contract.
Available to use on smart contracts that implement the ERC20 standard.
Example
Parameters
Returns
A mutation object to burn tokens from the connected wallet
options
The mutation function takes an object as an argument with the following properties:
amount (required)
The amount of tokens to burn.
The wallet initiating this transaction must have at least this amount of tokens.