{
  "x402Version": 2,
  "id": 4684,
  "slug": "4684",
  "resource": "https://x402-store.dgdb.workers.dev/v1/sign-decode",
  "description": "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?'",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xD617a7145ca56E3ed58d639F9DEC6999B22441eE",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "domain": {
              "chainId": 8453,
              "name": "Permit2",
              "verifyingContract": "0x000000000022D473030F116dDEE9F6B43aC78BA3"
            },
            "message": {
              "details": {
                "amount": "1461501637330902918203684832716283019655932542975",
                "expiration": "1781176678",
                "nonce": "0",
                "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
              },
              "sigDeadline": "1749722278",
              "spender": "0x66a9893cC07D91D95644AEDD05D03f95e1dBA8Af"
            },
            "primaryType": "PermitSingle"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "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"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "description": "EIP-712 typed data to decode (domain/primaryType/message), or {\"calldata\": \"0x...\"} for raw ERC-20 approve calldata.",
                "properties": {
                  "calldata": {
                    "type": "string"
                  },
                  "domain": {
                    "type": "object"
                  },
                  "message": {
                    "type": "object"
                  },
                  "primaryType": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402-store.dgdb.workers.dev",
  "lastUpdated": "2026-09-14T19:49:34.81Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-14T19:49:34.421Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402-store.dgdb.workers.dev",
    "manifest_name": "x402-store.dgdb.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}