erc20
Inspect ERC20 balances, transfer tokens, and set allowances. Token arguments accept either a known label or a raw address.
beam erc20 groups the ERC20-specific subcommands. The token argument accepts either a known label (USDC, USDT, or anything you've added via beam tokens add) or a raw token address.
Usage
$ beam erc20 balance <token> [name|address|ens]
$ beam erc20 transfer <token> <to> <amount>
$ beam erc20 approve <token> <spender> <amount>
Examples
$ beam --chain arbitrum erc20 balance USDT
$ beam --chain base erc20 balance 0xTokenAddress alice.eth
$ beam erc20 transfer USDC 0x1111... 25
$ beam erc20 transfer 0xTokenAddress 0xRecipient 25
$ beam erc20 approve USDT 0xSpender 1000
Notes
- Amounts are in the token's display units (e.g.
25USDC = 25 USDC, not 25 × 10^6 wei). - Beam rejects decimal precisions above
77when converting human-readable values to on-chain integer units. - Write commands wait for a mined receipt by default. Press
Ctrl-Cto stop waiting without losing the submitted hash. - For arbitrary contract calls (any ABI, not just ERC20), use
beam sendandbeam call.