Check an ERC-20 allowance granted to a spender
evm_allowanceERC-20 allowance an owner has granted a spender for one token: raw and human amount, with the token's symbol and decimals. unlimited is true when the allowance is at least 2^255, the usual approve-everything value. Read-only. Related tools on this server, for a different need: evm_balance when you need ERC-20 balance of an address for one token contract; evm_nft when you need ERC-721 facts for one token: owner, collection name. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner": "<owner>",
"token": "<token>",
"spender": "<spender>"
},
"name": "evm_allowance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base (default), ethereum, arbitrum, optimism or polygon | |
| owner | Yes | Token owner, 0x… | |
| token | Yes | ERC-20 contract, 0x… | |
| spender | Yes | Spender, 0x… |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| chain | No | ||
| owner | No | ||
| token | No | ||
| amount | No | ||
| source | No | ||
| spender | No | ||
| checkedAt | No | ||
| unlimited | No | ||
| disclaimer | No |