token:burn
Burn tokens from the connected account (ERC20Burnable burn function).
Syntax
Section titled “Syntax”token:burn <amount> <token>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
amount | number | Amount in token units (wei) |
token | address | Token address |
Examples
Section titled “Examples”load token
set $token 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdbtoken:burn 100e18 $token- Burns from the connected account (ERC20Burnable).
See Also
Section titled “See Also”- token:burn-from — burn from another account via allowance