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