approve_token_evm
Approve an ERC20 token spend allowance for a designated spender by providing the token address, spender address, and exact amount in base units.
Instructions
Approve an amount (specified in base units) of an ERC20 token for a spender
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | The amount of tokens to approve (in base units). | |
| chainId | No | Optional EVM chain ID to run this tool on (e.g. 1 for Ethereum, 8453 for Base, 42161 for Arbitrum). Defaults to the active wallet chain. | |
| spender | Yes | The address to grant approval to. | |
| tokenAddress | Yes | The contract address of the ERC20 token. |