ERC-20 approval check on Base
ERC-20 approval check on Base: how much can spender move from owner? owner=0x..&spender=0x..[&token=0x.., default USDC][&amount=] -> allowance, unlimited flag, owner balance, exposure (min of allowance and balance), known spender label (Permit2, Uniswap, 1inch, 0x, Odos, Aerodrome), risk class, revoke_recommended + ready approve(spender,0) calldata, can_spend when amount= given. Use before transferFrom/swap, or to audit a wallet's dangerous approvals.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://kr-x402-mvp.kgy5612.workers.dev/crypto/allowance
| Category | Code and developer |
|---|---|
| Provider host | kr-x402-mvp.kgy5612.workers.dev |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"owner": "0xe4be4d0bd82d8e68203deff81f79ede0529f2617",
"spender": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"amount": {
"description": "Optional amount to test can_spend",
"examples": [
1
],
"type": "number"
},
"owner": {
"description": "Token holder (alias wallet)",
"examples": [
"0xe4be4d0bd82d8e68203deff81f79ede0529f2617"
],
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
},
"spender": {
"description": "Approved spender / router",
"examples": [
"0x000000000022D473030F116dDEE9F6B43aC78BA3"
],
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
},
"token": {
"description": "Base ERC-20 (default USDC)",
"examples": [
"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
],
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
}
},
"required": [
"owner",
"spender"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}