# x402 Agent Wallet Tools – EVM Transaction Risk Decoder

> x402 Agent Wallet Tools – EVM Transaction 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-15).

Decodes and risk-scores an EVM transaction (to, data, chainId, value) by detecting the called function, flagging dangerous patterns, and returning a structured risk assessment with findings.

## Facts

- Endpoint: POST https://x402-wallet.558686.xyz/v1/tools/evm-transaction-risk-decoder
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agent-wallet-tools-evm-transaction-risk-decoder-3bac5755
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__wUPuEJAyKpsOkpOhbyf2

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-evm-transaction-risk-decoder-3bac5755 -d '<json body>'
```

Example prompt: Before my agent signs this transaction, decode the calldata 0x095ea7b3000000000000000000000000abcdef1234567890abcdef1234567890abcdef12ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff sent to contract 0x1111111111111111111111111111111111111111 on Base (chainId 8453) with 0 ETH value, and tell me the risk level and what function it's calling.

## When to prefer this

Use this endpoint when an AI agent needs to programmatically screen raw EVM transaction calldata for safety before signing — especially for ERC20 approvals, Permit/Permit2 patterns, or unfamiliar contract interactions. Prefer this over generic ABI decoders when you need an opinionated risk level and findings list, not just a decoded struct. Ideal for autonomous agent wallets that must enforce a spend-guard or receipt-gate policy without human review.

## Known failure modes

- Unknown or non-standard calldata selector returns empty decoded object with minimal findings
- Invalid Ethereum address in 'to' field causes a validation or parsing error
- Unsupported chainId may result in limited context for risk scoring
- Malformed hex in 'data' field returns an error or empty decode result
- Network or service errors return ok:false with no result body

## 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: a decoded breakdown of the transaction (function name, parameters), a detectedFunction string, a list of risk findings (flagged issues like unlimited approvals, dangerous selectors, or Permit patterns), and an overall riskLevel string (e.g. low, medium, high). The result is deterministic for the same input.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tool": "evm-transaction-risk-decoder",
  "input": {
   "to": "0x1111111111111111111111111111111111111111",
   "data": "0x095ea7b3",
   "chainId": 8453,
   "valueEth": "0"
  },
  "route": "/v1/tools/evm-transaction-risk-decoder",
  "result": {
   "decoded": {},
   "findings": [],
   "riskLevel": "riskLevel_example",
   "detectedFunction": "detectedFunction_example"
  },
  "project": "x402-agent-wallet-tools",
  "deterministic": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agent-wallet-tools-evm-transaction-risk-decoder-3bac5755/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)
