# kair-os.trade Transaction Diagnostic

> kair-os.trade Transaction Diagnostic is a paid API for AI agents from kair-os.trade, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Diagnoses failed Solana or Base transactions from on-chain evidence, returning root cause, supporting evidence, and a proposed correction with simulation limits.

## Facts

- Endpoint: POST https://kair-os.trade/tx-diagnostic/diagnose?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kair-os-trade-transaction-diagnostic-1413ff7c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JN28lrTp3fExJ5XiUzmGS

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 kair-os-trade-transaction-diagnostic-1413ff7c -d '<json body>'
```

Example prompt: My Base transaction 0x4a3f8c2d1e9b7f6a0c5d4e3f2a1b8c7d6e5f4a3b2c1d0e9f8a7b6c5d4e3f2a1b just failed — can you diagnose what went wrong on-chain and tell me how to fix it?

## When to prefer this

Use this endpoint when you need structured, evidence-backed root-cause analysis of a failed blockchain transaction on Base or Solana, particularly when you want a proposed correction alongside the diagnosis. Prefer this over generic block explorers when you need machine-readable output with explicit simulation limits for automated retry logic.

## Known failure modes

- Invalid or malformed transaction hash format returns validation error
- Transaction not found on the specified chain returns not found error
- Chain mismatch between specified chain and actual transaction chain
- Transaction that succeeded rather than failed may return unexpected results
- Network congestion or RPC unavailability may delay or fail the lookup

## How this service works

Diagnose a failed Solana or Base transaction from on-chain evidence. Returns cause, supporting evidence and a proposed correction with explicit simulation limits.

## Output

Returns the identified root cause of the transaction failure, the on-chain evidence supporting that diagnosis, a proposed correction to resolve the issue, and explicit simulation limits to validate the fix before resubmitting.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "solana"
   ],
   "type": "string",
   "description": "Transaction network: Base mainnet or Solana mainnet."
  },
  "transaction": {
   "type": "string",
   "description": "Base transaction hash (0x plus 64 hex characters), or Solana base58 transaction signature."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kair-os-trade-transaction-diagnostic-1413ff7c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kair-os.trade](https://www.zero.xyz/host/kair-os.trade/llms.txt)
