build_token_approve
Generate unsigned calldata for ERC-20 approve transactions. Supports unlimited allowance for max-uint256.
Instructions
Build UNSIGNED calldata for an ERC-20 approve. Set unlimited=true for the max-uint256 allowance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| amount | No | 0 | |
| spender | Yes | ||
| unlimited | No |