# x402 Agent Wallet Tools – EIP-712 Signature Risk Decoder

> x402 Agent Wallet Tools – EIP-712 Signature Risk Decoder is a paid API for AI agents from x402-wallet.558686.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Analyzes an EIP-712 structured message (domain, primary type, spender) and returns a risk assessment including risk level, signature family classification, and domain/message findings for Permit, Permit2, and similar approval signatures.

## Facts

- Endpoint: POST https://x402-wallet.558686.xyz/v1/tools/eip712-signature-risk-decoder
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agent-wallet-tools-eip-712-signature-risk-decoder-ba7032cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LKPKiL0yldbddwBBLzPAZ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-agent-wallet-tools-eip-712-signature-risk-decoder-ba7032cc -d '<json body>'
```

Example prompt: Before I sign this Permit2 approval on Base (chainId 8453) where the spender is 0x4444444444444444444444444444444444444444, can you decode the EIP-712 signature and tell me its risk level and signature family?

## When to prefer this

Use this endpoint when an AI agent or wallet needs to programmatically assess the risk of an EIP-712 structured signature (especially Permit, Permit2, or similar token-approval types) before signing. It is deterministic and cheap ($0.01 USDC), making it suitable for pre-signing screening in automated pipelines. Prefer this over generic contract decoders when specifically dealing with typed structured data signatures and needing a classified risk level and signature family label.

## Known failure modes

- Missing required domain.name or domain.chainId returns a validation error
- Missing required message.spender field returns a 400-level error
- Unrecognized primaryType may result in an unknown signatureFamily classification
- Malformed EIP-712 domain object may produce empty findings without error
- Network or payment failure returns a 402 or 5xx with no result

## How this service works

A buyer-side control console for signature risk, EIP-712 review, transaction decoding, ERC20 allowance risk, Permit/Permit2 approvals, transaction simulation summaries, spend guard policy, receipt gate enforcement, and private-key boundaries.

## Output

Returns a JSON object with ok status, the echoed input, a result object containing the parsed domain, an array of findings (flagged issues in the domain or message), a riskLevel string (e.g. low/medium/high), and a signatureFamily string identifying the approval standard (e.g. Permit, Permit2). The analysis is deterministic.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tool": "eip712-signature-risk-decoder",
  "input": {
   "domain": {
    "name": "Permit2",
    "chainId": 8453
   },
   "message": {
    "spender": "0x4444444444444444444444444444444444444444"
   },
   "primaryType": "Permit"
  },
  "route": "/v1/tools/eip712-signature-risk-decoder",
  "result": {
   "domain": {},
   "findings": [],
   "riskLevel": "riskLevel_example",
   "signatureFamily": "signatureFamily_example"
  },
  "project": "x402-agent-wallet-tools",
  "deterministic": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agent-wallet-tools-eip-712-signature-risk-decoder-ba7032cc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-wallet.558686.xyz](https://www.zero.xyz/host/x402-wallet.558686.xyz/llms.txt)
