{"uid":"cap_cch2qoffHZPBvkH5v15Z0","slug":"api-oatp-cc-58d353cf","name":"OATP tx_explainer","description":"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.","url":"https://api.oatp.cc/tools/tx_explainer","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mint":{"type":"string","description":"Solana token mint address (base58, 32-44 chars)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Q2UtAMM5QIX-34M_uIJnJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Audit suspicious wallet transaction activity","prompt":"I just received a transaction from someone claiming they sent me tokens, but I'm skeptical. Can you break down what actually happened in this transaction — 3vZj8n2K5qL9m4pR7sT1u6vW8xY9zA0bC2dE3fG4hI5j? I need to see what programs touched my wallet, what tokens changed hands, and the total fee they paid."},{"title":"Explain DeFi swap costs to client","prompt":"My client is asking why that token swap on Solana cost so much. Can you give me a plain-English explanation of this transaction — 8mN4kP6jQ2rS8tU1vW3xY5zA7bC9dE0fG1hI2jK3lM4? Show me the fee in both SOL and USD, which programs were involved, and what actually got swapped."},{"title":"Verify token transfer completeness","prompt":"I need to confirm that all the tokens arrived correctly in this transaction. Can you translate this Solana tx hash into plain English and walk me through the balance changes — 2aB5cD8eF1gH4iJ7kL0mN3oP6qR9sT2uV5wX8yZ1aC4? Include the programs that were called and the final cost to the sender."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T14:26:49.651Z","isFirstParty":false}