{"uid":"cap_u9t-XvyxSeuI1jCt61oNm","slug":"xerxes-ethereum-transaction-by-hash-2f93f27b","name":"Xerxes Ethereum Transaction by Hash","description":"Returns the transaction details for a given transaction hash on Ethereum. Includes fields like from, to, gas, gasPrice, value, input, blockNumber, transactionIndex, etc. Query: hash (transaction hash, 0x + 64 hex).","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/ethereum_rpc_api/eth_gettransactionbyhash?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["hash"],"properties":{"hash":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$","description":"transaction hash, 0x + 64 hex"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean"},"chain":{"type":"string"},"error":{"type":"string","description":"present when ok is false"},"method":{"type":"string"},"result":{"type":"object","description":"the node's JSON-RPC object, as returned"},"service":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.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_I2NtZUBAI2SlS1oWor8Mh","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 transaction details for a given Ethereum transaction hash via JSON-RPC eth_getTransactionByHash.","exampleAgentPrompt":"Can you pull up the full details for Ethereum transaction 0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060 — I want to see who sent it, who received it, the value, and the gas price?","exampleUseCases":[{"title":"Audit a suspicious on-chain transfer","prompt":"Someone just sent a large ETH transfer and I need to verify it — can you look up transaction 0xa9059cbb2ab09eb219583f4a59a5d0623ade346d962bcd4e46b11da047c9049b and tell me the sender, recipient, and amount?"},{"title":"Debug a failed DeFi interaction","prompt":"My DeFi swap might have failed — can you pull the details for tx hash 0x3a4e7f8c9b2d1e6f5a0c7d4b8e3f1a2b9c6d5e4f3a2b1c0d9e8f7a6b5c4d3e2f and show me the input data and gas info?"},{"title":"Confirm a payment was sent on-chain","prompt":"I need to confirm that a payment actually went through on Ethereum — please fetch the transaction details for 0x2f1d3e4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e and tell me the block number it landed in."}],"resultDescription":"A JSON object containing the full Ethereum transaction record as returned by eth_getTransactionByHash: from, to, value (in wei), gas, gasPrice, input, blockNumber, blockHash, transactionIndex, nonce, hash, and v/r/s signature components. Returns ok: true with a result object on success, or ok: false with an error string on failure.","failureModes":["Transaction hash not found (unconfirmed or invalid hash) — returns ok: false with an error message","Malformed hash (not 0x + 64 hex chars) — rejected by input schema validation","Transaction is pending and not yet mined — result may be null","Network or RPC node error — ok: false with provider error details","Payment failure via x402 — request blocked before reaching the RPC"],"whenToPreferThis":"Use this endpoint when you need the raw, complete transaction record for a specific Ethereum mainnet tx hash — including sender, recipient, value, input calldata, gas parameters, and block placement. Prefer this over block-level or receipt endpoints when you need pre-execution transaction fields (not gas used or logs, which require eth_getTransactionReceipt).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:23:21.781Z","isFirstParty":false,"canonicalSlug":"xerxes-ethereum-transaction-by-hash-2f93f27b"}