{"uid":"cap_w0mczZZy8MExUo5w-FBsL","slug":"paypi-solana-transaction-decoder-657c15fe","name":"paypi Solana Transaction Decoder","description":"Decode a Solana transaction into structured instructions, program ids (named), accounts and a human summary. Accepts a base64 serialized transaction (offline) or a landed signature (RPC jsonParsed). Use before signing/sending, or to understand a landed tx.","url":"https://pay.ansht.tech/v1/decode","method":"GET","headers":{},"bodySchema":{"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","anyOf":[{"required":["tx"]},{"required":["signature"]}],"properties":{"tx":{"type":"string"},"cluster":{"type":"string"},"signature":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"err":null,"source":"signature","summary":"2 instruction(s): System Program, SPL Token"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HxdchbQPFOIQMdDZCtf_m","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes a Solana transaction by signature or raw base64, returning a human-readable summary of its instructions and programs involved","exampleAgentPrompt":"Can you decode this Solana transaction and tell me what instructions it ran? The signature is 5v3G...XkPq on mainnet.","exampleUseCases":[{"title":"Inspect suspicious wallet activity","prompt":"I got this Solana transaction signature — 4xYZ...mNqR on mainnet — can you decode it and tell me what programs and instructions were involved?"},{"title":"Debug a failed DeFi transaction","prompt":"My Solana transaction failed and I need to understand what went wrong. Here's the signature: 3aBc...dEfG on devnet — can you decode it and show me the instructions that were attempted?"},{"title":"Audit a raw unsigned transaction before signing","prompt":"Before I sign this base64-encoded Solana transaction, can you decode it and summarize what instructions it's going to execute on mainnet?"}],"resultDescription":"Returns a JSON object with an error field (null if successful), the source type (signature or raw), and a human-readable summary listing the number of instructions and the programs invoked (e.g. System Program, SPL Token). Additional decoded instruction details may be included.","failureModes":["Invalid or malformed transaction signature returns an error in the 'err' field","Unknown or unrecognized program IDs may result in incomplete instruction labeling","Specifying the wrong cluster (mainnet vs devnet) for a given signature will cause lookup failure","Malformed base64 body will result in a parse error","Network or RPC node unavailability may cause timeout or upstream errors"],"whenToPreferThis":"Choose this endpoint when you need a quick, paid-per-use decode of a Solana transaction by signature or raw bytes without setting up your own RPC infrastructure. It's ideal for AI agents that need on-demand, human-readable summaries of Solana instructions without managing Solana node connections or parsing binary transaction formats manually.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:40:07.991Z","isFirstParty":false}