{"uid":"cap_8DAhnhRoWvq7MH-ZWEZzs","slug":"onesource-ethereum-transaction-lookup-by-hash-448c869e","name":"OneSource Ethereum Transaction Lookup by Hash","description":"Full Ethereum transaction details by hash via eth_getTransactionByHash - from, to, value, calldata, block","url":"https://api.onesource.io/api/chain/tx/:hash","method":"GET","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QO7QZ3HS7iZ-jHA-a-t21","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches full Ethereum transaction details (from, to, value, calldata, block) by transaction hash using eth_getTransactionByHash","exampleAgentPrompt":"Can you pull up the full details for Ethereum transaction 0x4e3a8b7c2f1d6e9a0b5c8d3f7e2a1b4c9d6e0f3a8b5c2d7e4f1a6b3c8d5e2f7a — I want to see who sent it, who received it, the ETH value, and what block it landed in.","exampleUseCases":[{"title":"Verify customer crypto payment receipt","prompt":"I just received a transaction hash from a customer who says they sent ETH to our wallet. Can you look up the full details on that hash to confirm the amount they sent, when it was included in a block, and that it actually went to our address?"},{"title":"Audit suspicious wallet activity","prompt":"We flagged a transaction that looks odd. Can you pull up all the details for this tx hash — I need to see exactly who initiated it, where it went, what value was moved, and what the calldata shows so I can understand what contract interaction happened."},{"title":"Debug failed smart contract call","prompt":"One of our contract transactions didn't execute properly. Can you fetch the complete details for this transaction hash including the calldata and which block it was in? I need to see what we actually sent to the contract and trace why it might have failed."}],"resultDescription":"Returns the full transaction object including: sender address (from), recipient address (to), ETH value transferred, input calldata, block number, transaction index, gas fields, nonce, and hash — for either Ethereum mainnet or Sepolia testnet.","failureModes":["Transaction hash not found or not yet indexed — returns null or 404","Invalid hash format (not 0x-prefixed 64 hex chars) — validation error","Unsupported network value — defaults to ethereum or returns error","Node unavailable or rate-limited — 5xx response","Transaction exists but is still pending — block fields may be null"],"whenToPreferThis":"Use this endpoint when you have a specific Ethereum transaction hash and need the complete on-chain transaction details including sender, receiver, value, calldata, and block info. Ideal for verifying completed transactions, inspecting contract calls, or auditing transfers. Prefer this over a general RPC endpoint when you want a simple REST call without raw JSON-RPC boilerplate, and when supporting both mainnet and Sepolia testnet is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:40:39.468Z","isFirstParty":false}