{"uid":"cap_vipJV1StPk0Pi1couMQAW","slug":"explorer-gateway-api-solana-transaction-instructions-2a5f73ac","name":"Explorer Gateway API – Solana Transaction Instructions","description":"Paid AI-agent access to Blockchain.com Explorer API","url":"https://api.blockchain.info/explorer-gateway-kt/x402/sol/transaction/instructions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"txId":{"type":"string"},"network":{"type":"string","example":"SOL"}}},"responseSchema":{"type":"json","format":"application/json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0015","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.0015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UQi_s3mXZ4S79ByjOkD_Y","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves the decoded instructions from a specific Solana transaction by transaction ID via the blockchain.info explorer gateway","exampleAgentPrompt":"Can you pull the decoded instructions for this Solana transaction — txId 5KtP9x...abc on the SOL network — and tell me what programs were called and what each instruction did?","exampleUseCases":[{"title":"Debugging a failed Solana smart contract call","prompt":"I need to understand why this Solana transaction failed — can you fetch the instructions for txId 3xR7mQ...def on the SOL network and break down which program was called and what each instruction tried to do?"},{"title":"Auditing DeFi swap transaction details","prompt":"Can you look up the on-chain instructions for Solana transaction 7aYbNp...xyz on the SOL network? I want to verify which programs were invoked and what the instruction data says for a swap I just executed."},{"title":"Compliance trace of on-chain activity","prompt":"For compliance purposes, I need to extract and document all the program instructions from Solana transaction 9mWkLz...pqr on the SOL network — please fetch that and list every instruction with its program ID and relevant accounts."}],"resultDescription":"A JSON response containing the decoded instructions of the specified Solana transaction, including program IDs invoked, instruction data, accounts referenced, and any inner instructions or sub-calls associated with the transaction.","failureModes":["Invalid or malformed txId returns an error response","Transaction not found on the network returns 404 or empty result","Incorrect network value (non-SOL) may return misrouted or empty response","Payment failure (x402 protocol) blocks the request if USDC payment is not processed","Rate limiting or network timeouts may cause transient failures","Very recent transactions may not yet be indexed and return no result"],"whenToPreferThis":"Choose this endpoint when you need detailed, decoded instruction-level data for a specific Solana transaction — particularly when debugging smart contract interactions, auditing DeFi operations, or tracing on-chain program calls. It is backed by the Blockchain.com explorer infrastructure, which provides reliable multi-chain data. Prefer this over raw RPC calls when you want a structured JSON response from a hosted, paid endpoint without managing your own Solana node.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:37:29.061Z","isFirstParty":false,"canonicalSlug":"explorer-gateway-api-solana-transaction-instructions-2a5f73ac"}