{"uid":"cap_6Rfp1BYDUYAE2iDgplVsN","slug":"xerxes-ethereum-get-transaction-by-hash-101de1f6","name":"Xerxes Ethereum Get Transaction By Hash","description":"Returns the transaction details for a given transaction hash on Ethereum: block number, from, to, value, gas, gas price, input, nonce, transaction index, and status. Query: hash (transaction hash, 0x + 64 hex).","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/ethereum_contract_abi_service/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.003","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_dpvQj1OrBK5jHvvE2WIfc","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, including block number, addresses, value, gas fields, input data, nonce, index, and status.","exampleAgentPrompt":"Can you pull up the full details for Ethereum transaction 0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ede77bb28e89fb2e7c65da51 — I want to see the sender, recipient, value, gas price, and whether it was successful.","exampleUseCases":[{"title":"Verify a payment transaction on-chain","prompt":"I sent ETH to a friend and have the transaction hash 0xa9d2b6a0c7f3e1d84b5c92f6e0d3a1b7c8f4e2d1a0b5c6f7e8d9a0b1c2d3e4f5 — can you confirm it went through and tell me the block it landed in and how much ETH was actually transferred?"},{"title":"Debug a failed smart contract call","prompt":"This transaction 0x3f7c2e1b4d8a9f0e5c6b2d1a7e4f8c3b0d9a5e2f1c8b7d6a4e3f2c1b0a9d8e7f seems to have failed — can you fetch its details so I can see the input data and status?"},{"title":"Audit historical transaction metadata","prompt":"For compliance purposes, I need to document everything about Ethereum transaction 0x1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b: who sent it, who received it, the gas price, nonce, and block number."}],"resultDescription":"Returns a JSON object with ok boolean, and a result field containing the Ethereum node's JSON-RPC response: block number, from address, to address, value in wei, gas limit, gas price, input data, nonce, transaction index, and transaction status. If the hash is not found or an error occurs, ok is false and an error message is provided.","failureModes":["Invalid hash format (not matching ^0x[a-fA-F0-9]{64}$) — request rejected","Transaction hash not found on-chain — result may be null or ok:false","Pending transaction not yet mined — result may lack block number and status","Node timeout or RPC error — ok:false with error message","Incorrect payment or insufficient USDC balance — payment gate rejects request"],"whenToPreferThis":"Use this endpoint when you have a specific Ethereum transaction hash and need its full on-chain details: addresses, value, gas fields, input data, nonce, and confirmation status. Prefer this over block-level or address-level endpoints when you already know the tx hash and want a single authoritative lookup. Not suitable for scanning all transactions for an address or monitoring pending mempool transactions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T08:22:55.741Z","isFirstParty":false,"canonicalSlug":"xerxes-ethereum-get-transaction-by-hash-101de1f6"}