# Blockchain Transaction Decoder

> Blockchain Transaction Decoder is a paid API for AI agents from task-radar-x402.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-31).

Decodes a blockchain transaction by hash, returning status, from/to addresses, value, gas, decoded method and event signatures, and ERC-20 transfers.

## Facts

- Endpoint: GET https://task-radar-x402.vercel.app/api/tx?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockchain-transaction-decoder-daf95fc8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1FslmPqc9qM921KEeyitE

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 blockchain-transaction-decoder-daf95fc8
```

Example prompt: Can you decode transaction 0x4a7e2f1c3b... on Base for me — I want to know if it succeeded, what method was called, who sent it, and what ERC-20 transfers happened?

## When to prefer this

Use this endpoint when you need a full human-readable breakdown of a specific transaction — including decoded method names, event signatures, and ERC-20 transfers — without needing to run your own node or write custom ABI parsing logic. It's especially useful when you don't have the contract ABI, since it uses openchain for signature lookup. Prefer it over a raw RPC call when you want enriched, decoded output in a single request.

## Known failure modes

- Invalid or malformed transaction hash returns an error
- Transaction not found on the specified chain
- Unsupported chain identifier returns an error
- Method or event signature not found in openchain returns raw selector
- RPC node timeout or rate limit causes delayed or failed response

## How this service works

Transaction decoder: status, from/to, value, gas, decoded method + event signatures, ERC-20 transfers (public RPC + openchain). 0.02 USDC/call on Base.

## Output

Returns the transaction status (success/fail/pending), from and to addresses, ETH value transferred, gas used, the decoded method signature of the function call, decoded event signatures emitted, and a list of ERC-20 token transfers extracted from the transaction logs.

## 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": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "hash": {
       "type": "string",
       "description": "Tx hash 0x..."
      },
      "chain": {
       "type": "string",
       "description": "ethereum|base|arbitrum|optimism|polygon|bsc (default ethereum)"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockchain-transaction-decoder-daf95fc8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from task-radar-x402.vercel.app](https://www.zero.xyz/host/task-radar-x402.vercel.app/llms.txt)
