Skip to content

token:burn-from

Burn tokens from another account, consuming the sender allowance (ERC20Burnable burnFrom function).

Supports runtime fields inside smart blocks. Use explicit @helper! expressions or captured outputs; other fields are evaluated at build time.

token:burn-from <amount> <token> <from> <account>
NameTypeEvaluationDescription
amountnumberRuntime in smart blocksAmount in token units (wei)
tokenaddressRuntime in smart blocksToken address
fromcommandBuild timeKeyword from
accountaddressRuntime in smart blocksAccount to burn from
load token
set $token 0x9C58BAcC331c9aa871AFD802DB6379a98e80CEdb
token:burn-from 100e18 $token from 0x4F2083f5fBede34C2714aFfb3105539775f7FE64
  • Consumes the sender allowance on the burned account, like transferFrom.