read.wallet.allowances
Check ERC20 token allowances for a spender to avoid redundant approvals by verifying if the current allowance is sufficient.
Instructions
Check ERC20 token allowances for a spender address. Use before write.wallet.approve to avoid redundant approvals — skip approving if the current allowance is already sufficient.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain_id | No | Chain ID: 8453 (Base), 130 (Unichain), or 10 (Optimism) | |
| owner_address | Yes | Token owner address (the wallet granting approval) | |
| spender_address | Yes | Spender address to check allowance for (e.g. Arcadia account address) | |
| token_addresses | Yes | ERC20 token contract addresses to check |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokens | Yes |