ERC20 allowance
evm_erc20_allowanceHow much of a token a spender is still allowed to move on an owner's behalf, and whether that approval is unlimited. The check to run before an approve, and the one that finds forgotten infinite approvals. Flat $0.001 per call, paid over x402 (USDC).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base | ethereum | polygon | arbitrum | optimism. | |
| owner | Yes | Address that owns the tokens. | |
| token | Yes | ERC20 contract address. | |
| spender | Yes | Address allowed to spend them. |