{"uid":"cap_Ifbabfi3y4o45dTiGHqPB","slug":"api-x402node-dev-44d49920","name":"Ethereum Transaction Lookup by Hash","description":"Ethereum transaction details and receipt by hash via LlamaRPC. Returns from, to, value, gas, status, block, logs count, contract address (if created). Use ?hash=0x.... Built for AI agents auditing payments, debugging contract calls, monitoring on-chain activity. Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/chain/eth-tx","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","properties":{"hash":{"type":"string","description":"Transaction hash (optional)"}}}},"additionalProperties":false}}},"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_8quAqD6eObDbGcTRSzKc0","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":"Retrieves full Ethereum transaction details and receipt by transaction hash, including from/to addresses, value, gas, status, block number, logs count, and contract address if created.","exampleAgentPrompt":"Can you pull up the full details for Ethereum transaction 0x4e3a...b7f2 — I need to confirm it went through, see how much ETH was transferred, and check whether it created a contract.","exampleUseCases":[{"title":"Confirm payment before releasing goods","prompt":"Hey, I have a transaction hash from a customer — 0xa1b2...c3d4 — can you look it up and tell me if it actually succeeded and how much ETH was sent? I need to confirm the payment went through before I ship anything."},{"title":"Audit failed contract deployment","prompt":"One of our developers tried to deploy a smart contract yesterday and the transaction might have failed. The hash is 0x9f3e...7a21 — can you check the status, how much gas was used, and whether a contract address was actually created?"},{"title":"Analyze gas usage on recent transaction","prompt":"I'm trying to figure out why this transaction cost so much in gas fees. Can you pull up 0xd74c...b88f and show me the gas limit versus how much gas was actually used, along with which block it landed in?"}],"resultDescription":"Returns a JSON object with Ethereum transaction details: from address, to address, ETH value transferred, gas limit and gas used, transaction status (success/fail), block number, number of event logs, and contract address if the transaction deployed a new contract.","failureModes":["Invalid or malformed transaction hash returns an error or empty result","Transaction hash not found on Ethereum mainnet (e.g. it's on a testnet or wrong chain)","LlamaRPC upstream unavailability causing timeout or 5xx error","Missing ?hash= parameter returns a bad request error","Very recent transactions not yet indexed may return null or pending status"],"whenToPreferThis":"Use this endpoint when you need to audit, verify, or inspect a specific Ethereum mainnet transaction by its hash — especially for payment confirmation, contract deployment detection, gas usage analysis, or on-chain activity debugging. Prefer over generic block explorers when you need structured JSON output for programmatic consumption by an AI agent.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:44:18.229Z","isFirstParty":false}