{"uid":"cap_fVujK_UPRrBZuXj9RAj1A","slug":"chainray-transaction-decoder-e97494d1","name":"ChainRay Transaction Decoder","description":"The most complete blockchain data and intelligence service for AI agents. 93 endpoints across 46 chains, from gas fees to DeFi analytics, with real-time streams, intent routing, and verifiable proofs. Pay-per-request via x402.","url":"https://chainray.online/tx-decode/%7BtxHash%7D","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["txHash"],"properties":{"chain":{"type":"string","description":"Blockchain network"},"txHash":{"type":"string","description":"Transaction hash"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qyO2M8ubrLrWnYDqK6roI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes and parses a blockchain transaction by hash, returning structured details about the transaction's inputs, outputs, and on-chain actions","exampleAgentPrompt":"Can you decode transaction hash 0x4e3a7b2f...c91d on Ethereum and tell me what actually happened — who sent it, who received it, what contract was called, and how much gas was used?","exampleUseCases":[{"title":"Verify a user's deposit transaction","prompt":"A customer says they sent me crypto yesterday but I don't see it in my wallet yet. Can you decode their transaction hash and tell me if it actually went through, where it was sent to, and what the current status is?"},{"title":"Analyze a DeFi swap for auditing","prompt":"I need to understand what happened in this token swap transaction. Can you break down the hash for me and show me exactly which tokens were swapped, how much of each, which DEX was used, and what the gas fees were?"},{"title":"Debug a failed contract interaction","prompt":"This transaction failed but I'm not sure why. Can you decode the hash and show me what contract function was being called, what parameters were sent, and why it might have reverted?"}],"resultDescription":"A structured breakdown of the transaction including sender address, recipient address, value transferred, decoded contract call data, token transfers, gas used, block number, and status — all parsed from the raw on-chain transaction data.","failureModes":["Invalid or malformed transaction hash returns a 400 or 404 error","Transaction hash not found on the specified chain returns a not-found error","Unsupported chain identifier results in an error response","Network congestion or node unavailability may cause timeouts","Missing required txHash parameter returns a validation error"],"whenToPreferThis":"Use this endpoint when you need to decode and understand what a specific blockchain transaction did — particularly useful for DeFi transactions, smart contract interactions, or any scenario where the raw tx hash needs to be translated into human-readable structured data across any of 46 supported chains.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:48:35.659Z","isFirstParty":false}