build_token_transfer
Generate unsigned ERC-20 transfer calldata with automatic decimal parsing, refusing over-precise amounts to prevent errors.
Instructions
Build UNSIGNED calldata for an ERC-20 transfer. Amount is parsed against the token's real decimals; over-precise amounts are refused rather than truncated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| token | Yes | ||
| amount | Yes |