# Solana Transaction Explainer

> Solana Transaction Explainer is a paid API for AI agents from token-safety.50to50k.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-21).

Decodes a Solana transaction signature into a human-readable summary including status, kind, program names, SOL/token transfers, net balance changes, fee, signers, and memo.

## Facts

- Endpoint: GET https://token-safety.50to50k.workers.dev/solana/tx?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-transaction-explainer-728753c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q7ry6X80dBgNWK7hol_20

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 solana-transaction-explainer-728753c3
```

Example prompt: Can you explain what happened in this Solana transaction — signature 5KtPn1LGuxhFiwjxErkxc9TfzLGNNqkDrmPAzL69BqJhf7mR4vQkXn8xJpWqMiPbG1rCpCZzQbHPpSLMzVJ9kgH — tell me if it succeeded, what kind of transaction it was, which programs were involved, and what the net SOL and token balance changes were?

## When to prefer this

Choose this endpoint when you need a comprehensive, human-readable breakdown of any Solana transaction from just its signature — especially useful for debugging failed transactions, auditing DeFi activity, verifying transfers, or building user-facing transaction history UIs. It is preferable over raw RPC calls when you need named programs, readable errors, net balance deltas, and a natural-language summary all in one response without parsing low-level Solana transaction structures yourself.

## Known failure modes

- Invalid or malformed base58 signature returns an error
- Transaction signature not found on-chain (e.g. expired or wrong network)
- Network timeout or RPC node unavailability causing fetch failure
- Very large or complex transactions may have incomplete program name resolution
- Payment failure (x402) if USDC balance insufficient for the $0.01 per-call fee

## How this service works

Solana transaction explainer: status and readable error, kind (transfer, swap, failed, other), one-sentence summary, named programs, SOL and token transfers with owners, net SOL and token balance changes per account, fee, signers and memo, from a transaction signature.

## Output

Returns a structured breakdown of the transaction including: success/failure status with a readable error message if applicable, transaction kind (transfer, swap, failed, or other), a one-sentence plain-English summary, list of named programs invoked, individual SOL and token transfers with source/destination owner addresses, net SOL and token balance changes per account, transaction fee in lamports, list of signers, and any attached memo.

## 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",
     "required": [
      "signature"
     ],
     "properties": {
      "signature": {
       "type": "string",
       "description": "Solana transaction signature (base58)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-transaction-explainer-728753c3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from token-safety.50to50k.workers.dev](https://www.zero.xyz/host/token-safety.50to50k.workers.dev/llms.txt)
