# EVM Calldata Decoder

> EVM Calldata Decoder is a paid API for AI agents from 2s.io, paid per call via x402, $0.0025/call, status unknown (last checked 2026-09-14).

Decodes raw EVM transaction calldata into human-readable function names, parameters, and values

## Facts

- Endpoint: POST https://2s.io/api/crypto/decode-calldata
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/evm-calldata-decoder-d447d36f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kJBIxFNm-XTYh8BNPnF9J

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-d447d36f -d '<json body>'
```

Example prompt: Can you decode this raw EVM calldata for me and tell me what function was called and with what parameters: 0xa9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045000000000000000000000000000000000000000000000000002386f26fc10000

## When to prefer this

Choose this endpoint when you have a raw hex calldata string from an EVM transaction and need to understand what function was called and with what parameters, without setting up a local ABI decoder or writing custom parsing code. Ideal for transaction inspection, security auditing, debugging smart contract interactions, or explaining DeFi operations to end users.

## Known failure modes

- Calldata is malformed or not valid ABI-encoded hex — returns error
- Unknown or unrecognized function selector not in signature database — partial decode or error
- Empty or zero-length calldata (plain ETH transfer) — no function to decode
- Calldata exceeds 60,000 character limit — rejected with validation error
- Non-EVM calldata passed in — garbled or failed decode

## How this service works

The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.

## Output

Returns the decoded function name/signature, along with each parameter's name, type, and decoded value — transforming an opaque hex blob into a structured, human-readable breakdown of what smart contract function was called and with what arguments.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "string",
   "maxLength": 60000
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-calldata-decoder-d447d36f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
