evm_transfer_erc20
Transfer ERC-20 tokens by specifying amount in the token's smallest unit. Verify decimals first to ensure accurate token transfer.
Instructions
Transfer ERC-20 tokens. Amount is in the token's smallest unit (e.g. for USDC with 6 decimals, '1000000' = 1 USDC). Use evm_get_token_balance to check decimals first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient address or ENS name | |
| amount | Yes | Token amount in smallest units (wei-equivalent) | |
| chainId | No | Chain ID (defaults to runtime config) | |
| tokenAddress | Yes | ERC-20 token address |