Token allowance, Ethereum ERC-20
eth_allowanceERC-20 token allowance on Ethereum: how much a spender may move from an owner's wallet (allowance), raw and in token units, and whether the approval is unlimited. Use to check an approval before a swap or to audit risky open approvals; for the owner's balance use eth_token_balance. Token is a ticker (USDC, USDT, WETH…) or a 0x contract; a missing contract is 404 and a non-ERC-20 422, both uncharged. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | 0x wallet that gave the approval | |
| token | Yes | Token: a ticker such as USDC or WETH, or the 0x ERC-20 contract address | |
| spender | Yes | 0x contract or wallet allowed to spend (the example is Uniswap Permit2) |