# OATP tx_explainer

> OATP tx_explainer is a paid API for AI agents from api.oatp.cc, paid per call via x402, $0.1/call, status down (last checked 2026-09-15).

Fetches a Solana transaction by signature and returns a human-readable explanation including programs invoked, token balance changes, fee in SOL and USD, and a one-line summary.

## Facts

- Endpoint: POST https://api.oatp.cc/tools/tx_explainer
- Price: $0.1/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-oatp-cc-58d353cf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cch2qoffHZPBvkH5v15Z0

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 api-oatp-cc-58d353cf -d '<json body>'
```

Example prompt: Can you explain what happened in this Solana transaction — 5YBHQmxGBHCBqh7Jm3eEtL3nR1nUpaZs5VxHxe7ot9fGZQkF4WE8dpNqKLhDdVtMz2NyY4B7tPQmhLo1? I want to know which programs were invoked, any token balance changes, and how much it cost in fees.

## When to prefer this

Use this endpoint when you need a plain-English explanation of a specific Solana transaction — especially when debugging DeFi interactions, auditing wallet activity, or presenting on-chain data to non-technical users. Prefer this over raw RPC calls when you need fee data in both SOL and USD and a summarized narrative rather than raw instruction logs.

## Known failure modes

- Invalid or malformed transaction signature returns an error
- Transaction not found on-chain (wrong network or pruned) returns not-found error
- Network timeout if Solana RPC is slow or unavailable
- Payment failure if x402 payment of 0.5 USDC is not completed

## How this service works

OATP · tx_explainer — Fetch a Solana transaction by signature and return a human-readable explanation: programs invoked, token balance changes, fee (SOL + USD), and a one-line summary.

## Output

Returns a structured breakdown of the Solana transaction including: list of programs invoked, token balance changes per wallet, transaction fee in both SOL and USD, and a concise one-line human-readable summary of what the transaction accomplished.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mint": {
   "type": "string",
   "description": "Solana token mint address (base58, 32-44 chars)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-oatp-cc-58d353cf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.oatp.cc](https://www.zero.xyz/host/api.oatp.cc/llms.txt)
