Verify an EIP-2612 permit BEFORE acting on it
Verify an EIP-2612 permit BEFORE acting on it: give the token, owner, spender, value, deadline and signature, and get back whether it is valid, the recovered signer, the current nonce, the exact EIP-712 domain it was checked against, and every failed check spelled out. Catches the four ways a permit is wrong: signed by someone else, expired, for a different spender, or claiming a larger value than was signed. Works for USDC on base, ethereum, polygon, arbitrum and optimism. Read-only: nothing is
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://agent-data.centorprat.workers.dev/chain/permit-check
| Category | Market data |
|---|---|
| Provider host | agent-data.centorprat.workers.dev |
| Networks | eip155:137, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.01 | 607 ms |
| 2026-11-26 | valid payment request | 402 | $0.01 | 604 ms |
| 2026-11-25 | valid payment request | 402 | $0.01 | 584 ms |
| 2026-11-24 | no x402 terms | 429 | 14 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"deadline": "1795495015",
"owner": "0x0000000000000000000000000000000000000001",
"signature": "0x...130 hex...",
"spender": "0x8d38D6026cf3A9805DE9c5F0611ceE95B532B120",
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"value": "1000000"
},
"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",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"properties": {
"chain": {
"description": "base | ethereum | polygon | arbitrum | optimism (default base)",
"type": "string"
},
"deadline": {
"description": "Unix seconds after which the permit is invalid (required)",
"type": "string"
},
"expected_spender": {
"description": "Optional: also check the spender is exactly this address",
"type": "string"
},
"owner": {
"description": "Wallet that signed the permit (required)",
"type": "string"
},
"signature": {
"description": "130-hex r,s,v signature, 0x prefix optional (required)",
"type": "string"
},
"spender": {
"description": "Address allowed to move the tokens (required)",
"type": "string"
},
"token": {
"description": "EIP-2612 token contract, e.g. USDC (required)",
"type": "string"
},
"value": {
"description": "Amount in the token's smallest unit, e.g. 1000000 = 1.00 USDC (required)",
"type": "string"
}
},
"required": [
"token",
"owner",
"spender",
"value",
"deadline",
"signature"
],
"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"
}