# EVM Transaction Decoder

> EVM Transaction Decoder is a paid API for AI agents from exchangerebel.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-14).

Decodes an EVM transaction into a human-readable explanation including function name, decoded arguments, formatted token amounts, ENS names, and revert reasons

## Facts

- Endpoint: GET https://exchangerebel.com/toll/evm/tx-decode?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/evm-transaction-decoder-1e03e433
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UGWK5abeEKMOBWmZGt98L

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-transaction-decoder-1e03e433
```

Example prompt: Can you decode and explain what happened in this Ethereum transaction — 0x4a1b2c3d4e5f6789abcdef1234567890abcdef1234567890abcdef1234567890ab — including the function that was called, the decoded arguments, any ENS names, formatted amounts, and if it failed, the revert reason?

## When to prefer this

Use this endpoint when you need a complete, human-readable breakdown of any EVM transaction — especially when you need ENS resolution, properly formatted token amounts, and revert reason diagnosis all in a single call. Prefer this over raw RPC calls when you want structured, agent-consumable output without building your own ABI decoder or ENS resolver.

## Known failure modes

- Invalid or malformed transaction hash returns an error
- Transaction not found on the network returns a not-found error
- Unverified contract ABI may result in partial or failed decoding
- Network congestion may slow RPC lookups
- Very old or obscure transactions may lack ENS resolution data

## How this service works

decoded EVM transaction explanation (function name + decoded args + formatted amounts + ENS + revert reason)

## Output

Returns a decoded explanation of the EVM transaction including: the smart contract function name that was called, all decoded input arguments with human-readable formatting, token amounts converted to their proper decimal representations, ENS name resolutions for addresses, and the revert reason if the transaction failed.

## 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"
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-transaction-decoder-1e03e433/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from exchangerebel.com](https://www.zero.xyz/host/exchangerebel.com/llms.txt)
