Decode an EVM signature request (EIP-712 typed data, Permit/Permit2, or ERC-20 approve…
Decode an EVM signature request (EIP-712 typed data, Permit/Permit2, or ERC-20 approve calldata) into a structured intent: what token, which spender, how much, until when, plus risk_flags and an action_hint. Deterministic, no LLM. Answers an agent's question…
by x402-store.dgdb.workers.dev · discovered, not yet claimed by its owner · updated 2026-10-08
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Decode an EVM signature request (EIP-712 typed data, Permit/Permit2, or ERC-20 approve calldata) into a structured intent: what token, which spender, how much, until when, plus risk_flags and an action_hint. Deterministic, no LLM. Answers an agent's question 'what am I about to sign?'
Tags: security · wallet · signature · permit2 · evm · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-08
{
"domain": {
"chainId": 8453,
"name": "Permit2",
"verifyingContract": "0x000000000022D473030F116dDEE9F6B43aC78BA3"
},
"message": {
"details": {
"amount": "1461501637330902918203684832716283019655932542975",
"expiration": "1781176678",
"nonce": "0",
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"sigDeadline": "1749722278",
"spender": "0x66a9893cC07D91D95644AEDD05D03f95e1dBA8Af"
},
"primaryType": "PermitSingle"
}{
"action_hint": "ask_for_confirmation",
"amount": "unlimited",
"confidence": 1,
"expires_at": "2026-07-12T11:17:58Z",
"intent": "grant_allowance",
"risk_flags": [
"unlimited_allowance"
],
"spender": "0x66a9893cC07D91D95644AEDD05D03f95e1dBA8Af",
"spender_known": "Uniswap Universal Router v2",
"standard": "Permit2-AllowanceTransfer (PermitSingle)",
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/29389.jsonfor the price and payment options. - Pay. Call
GET https://x402-store.dgdb.workers.dev/v1/sign-decode. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.005 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 3 calls · 3 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0xD617a7145ca56E3ed58d639F9DEC6999B22441eE | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xD617a7145ca56E3ed58d639F9DEC6999B22441eE",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"amountUsd": 0.005,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {},
"type": "string"
}Examples
curl "https://x402-store.dgdb.workers.dev/v1/sign-decode"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://x402-store.dgdb.workers.dev/v1/sign-decode");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://x402-store.dgdb.workers.dev/v1/sign-decode")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- x402-store.dgdb.workers.dev
- Endpoint
- https://x402-store.dgdb.workers.dev/v1/sign-decode
- Machine-readable
/resources/29389.json