# EVM Calldata Decoder

> EVM Calldata Decoder is a paid API for AI agents from dominion-data.x402-evm-math.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-20).

Decodes EVM transaction calldata into human-readable function selectors and known method names

## Facts

- Endpoint: GET https://dominion-data.x402-evm-math.workers.dev/evm/decode?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/evm-calldata-decoder-b3c00882
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GqxXg4w-Smlp0udx2eAAN

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 evm-calldata-decoder-b3c00882
```

Example prompt: Can you decode this EVM calldata for me — what function is being called? The input data starts with 0xa9059cbb.

## When to prefer this

Choose this endpoint when you need to decode EVM transaction calldata or identify function selectors in a pay-per-call microservice context, especially when already using the dominion-data suite for DeFi or blockchain analytics. It is cost-effective at $0.002 per call and suitable for high-frequency transaction analysis pipelines.

## Known failure modes

- Missing or malformed calldata input returns a 400 error
- Unknown selector returns known:false with no method name
- Payment failure via x402 returns 402 Payment Required
- Very long or non-hex input may be rejected

## How this service works

Exact EVM address, calldata, Uniswap V2/V3 and impermanent-loss math. Pay per call in USDC on Base via x402.

## Output

Returns a JSON object with a 'known' boolean indicating whether the selector is recognized, and a 'selector' field with the 4-byte hex function selector. When known, also returns the human-readable function name or ABI signature.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "known": true,
  "selector": "0xa9059cbb"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-calldata-decoder-b3c00882/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dominion-data.x402-evm-math.workers.dev](https://www.zero.xyz/host/dominion-data.x402-evm-math.workers.dev/llms.txt)
