# Solana Transaction Explainer

> Solana Transaction Explainer is a paid API for AI agents from solana-token-check.vercel.app, paid per call via x402, $0.0025/call, status unknown (last checked 2026-10-11).

Fetches and explains a Solana transaction by signature, returning a human-readable breakdown, error diagnosis, and fix suggestions.

## Facts

- Endpoint: GET https://solana-token-check.vercel.app/v1/tx/%7Bsignature%7D?utm_source=zero.xyz
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-transaction-explainer-01e95dcb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u7nlexdKukYyG38HI4ZxK

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-01e95dcb
```

Example prompt: Can you explain what happened with my Solana transaction — the signature is 5KtPn1LGuxhFKLRFdMmANPeF1zRJJHLoNNpqMYAhE4a8CnBpBqR1VZpXwsKhJ7gTPMrJNuJ3P5YVRwXDoSvGMrR? It failed and I need to know why and how to fix it.

## When to prefer this

Use this endpoint when you need a human-readable explanation of a specific Solana transaction — especially failed swaps, program errors, or suspicious activity — and want actionable fix suggestions without setting up an account or API key. Ideal for pay-per-call, low-volume agent workflows that need cheap on-demand transaction debugging.

## Known failure modes

- Invalid or malformed transaction signature returns an error response
- Transaction not yet finalized or not found on-chain may return empty or error result
- Network timeout or RPC unavailability causes request failure
- Payment failure via x402 (insufficient USDC balance) blocks the request

## How this service works

Cheap pay-per-call Solana data: token risk check, trending tokens, newest tokens, wallet snapshot, token price feed, full token due-diligence report, transaction explainer, address profile, China trending topics. USDC on Solana or Base via x402, no account, no API key.

## Output

Returns a JSON object with the transaction status (e.g. 'failed' or 'success'), a plain-English explanation of what happened, the original error text if any, a suggested fix, the list of programs invoked, and the original signature.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "fix": "Retry with a fresh quote and/or a higher slippage tolerance.",
  "error": {
   "text": "Custom program error 6001"
  },
  "status": "failed",
  "programs": [],
  "signature": "...",
  "explanation": "Price moved more than your slippage tolerance."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-transaction-explainer-01e95dcb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from solana-token-check.vercel.app](https://www.zero.xyz/host/solana-token-check.vercel.app/llms.txt)
