# ChainRay Transaction Decoder

> ChainRay Transaction Decoder is a paid API for AI agents from chainray.online, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Decodes and explains a blockchain transaction by hash, returning structured human-readable details about what the transaction did

## Facts

- Endpoint: GET https://chainray.online/tx-decode/:var1
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainray-transaction-decoder-c6917ba8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XkmcFgf8AgJRWRCcLNgcY

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 chainray-transaction-decoder-c6917ba8
```

Example prompt: Can you decode this Ethereum transaction for me — 0x4e3a3754410177e6937ef1f84bba68ea139e8d1ad110ef437beba570a1a6e4f — and tell me what it actually did, what contract was called, and what tokens moved?

## When to prefer this

Use ChainRay tx-decode when you need a rich, human-readable breakdown of what a specific blockchain transaction did — especially for DeFi, token transfers, or smart contract calls. Prefer this over raw RPC calls or block explorers when you need structured machine-readable output that an AI agent can reason over, and when multi-chain support across 46+ chains is needed.

## Known failure modes

- Invalid or malformed transaction hash returns error
- Transaction hash not found on specified chain
- Unsupported blockchain network returns error
- Missing required txHash query parameter returns 400
- Rate limiting or payment failure returns 402
- Unverified contract ABI may result in partial decode with raw hex data

## How this service works

ChainRay /tx-decode

## Output

A structured breakdown of the decoded transaction, including the function called, input parameters, token transfers, involved addresses, contract details, and human-readable summary of what the transaction accomplished on the specified blockchain.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "txHash"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Blockchain network"
      },
      "txHash": {
       "type": "string",
       "description": "Transaction hash"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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