Reads one Base wallet's risky ERC-20 token approvals
Reads one Base wallet's risky ERC-20 token approvals: scans Approval events over a stated recent block window (default 50,000 blocks), reads the current allowance for each pair found, and flags unlimited allowances and allowances to EOAs or spender contracts whose source is not verified on Blockscout. Returns per-approval risk flags, counts, and a plain summary. Read-only. Approvals granted before the window with no in-window event are not enumerated — the response states its coverage.
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
POST https://lock-smith-production.up.railway.app/v1/approval-check
| Category | Market data |
|---|---|
| Provider host | lock-smith-production.up.railway.app |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.03 | 581 ms |
| 2026-11-25 | valid payment request | 402 | $0.03 | 890 ms |
| 2026-11-24 | valid payment request | 402 | $0.03 | 895 ms |
| 2026-11-23 | valid payment request | 402 | $0.03 | 1301 ms |
Example input (from the provider)
{
"body": {
"wallet_address": "0x097f9685D1e0752bF8B02d61E5Ce9be7eA0FBA7F"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"wallet_address": {
"description": "Base wallet address (0x-prefixed, 20 bytes) whose ERC-20 token approvals to check, e.g. 0x097f9685D1e0752bF8B02d61E5Ce9be7eA0FBA7F",
"type": "string"
}
},
"required": [
"wallet_address"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"approvals": {
"items": {
"properties": {
"allowance_raw": {
"type": "string"
},
"risk_flags": {
"items": {
"type": "string"
},
"type": "array"
},
"risk_level": {
"enum": [
"high",
"medium",
"low"
],
"type": "string"
},
"spender": {
"type": "string"
},
"spender_is_contract": {
"type": "boolean"
},
"spender_name": {
"type": [
"string",
"null"
]
},
"spender_source_verified": {
"type": [
"boolean",
"null"
]
},
"token": {
"type": "string"
},
"token_decimals": {
"type": [
"integer",
"null"
]
},
"token_symbol": {
"type": [
"string",
"null"
]
},
"unlimited": {
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
},
"check_version": {
"type": "string"
},
"counts": {
"properties": {
"high": {
"type": "integer"
},
"live": {
"type": "integer"
},
"low": {
"type": "integer"
},
"medium": {
"type": "integer"
},
"unlimited": {
"type": "integer"
}
},
"type": "object"
},
"coverage": {
"properties": {
"from_block": {
"type": "integer"
},
"limitations": {
"type": "string"
},
"log_chunks_scanned": {
"type": "integer"
},
"pairs_checked": {
"type": "integer"
},
"pairs_found": {
"type": "integer"
},
"pairs_truncated": {
"type": "boolean"
},
"scan_mode": {
"enum": [
"all_tokens",
"major_tokens"
],
"type": "string"
},
"sources": {
"items": {
"type": "string"
},
"type": "array"
},
"to_block": {
"type": "integer"
},
"tokens_scanned": {
"type": [
"string",
"array"
]
},
"window_blocks": {
"type": "integer"
}
},
"type": "object"
},
"evidence": {
"properties": {
"input_hash": {
"type": "string"
},
"settlement_tx": {
"type": [
"string",
"null"
]
},
"timestamp": {
"type": "string"
}
},
"type": "object"
},
"network": {
"type": "string"
},
"next_check": {
"properties": {
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"price_usd": {
"type": "number"
},
"service": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"ok": {
"type":