{"uid":"cap_WjKwTIlOvTUej_yHTHrm5","slug":"onesource-ethereum-transaction-lookup-by-hash-13777276","name":"OneSource Ethereum Transaction Lookup by Hash","description":"Two data families for AI agents: live Ethereum mainnet, Sepolia testnet, and Robinhood Chain RPC reads, plus Deepstate on-chain market data (order books, trades, candles, and analytics). Pay per call or use batch/session mode: USDC on Base via x402, or pathUSD/USDC.e on Tempo via MPP. No API key required to start; a flat-rate monthly subscription is also available.","url":"https://api.onesource.io/api/chain/tx/%7Bhash%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","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","required":["hash"],"properties":{"hash":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$"}}},"queryParams":{"type":"object","properties":{"network":{"enum":["ethereum","sepolia","robinhood"],"type":"string","default":"ethereum"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"receipt":{"type":["object","null"],"properties":{"logs":{"type":"array","items":{}},"status":{"type":"string"},"gasUsed":{"type":"string"},"blockNumber":{"type":"string"},"transactionHash":{"type":"string"}}},"transaction":{"type":["object","null"],"properties":{"to":{"type":"string"},"gas":{"type":"string"},"from":{"type":"string"},"hash":{"type":"string"},"nonce":{"type":"string"},"value":{"type":"string"},"blockNumber":{"type":"string"}}}},"description":"Endpoint-specific response payload"},"meta":{"type":"object","required":["endpoint","request_id"],"properties":{"endpoint":{"type":"string"},"cost_usdc":{"type":"string"},"request_id":{"type":"string"},"payment_chain":{"type":"string"},"payment_token":{"type":"string"}}},"error":{"type":["object","null"],"properties":{"code":{"type":"integer"},"message":{"type":"string"}}}}}}}}},"responseSchema":{"type":"json","example":{"data":{"receipt":{"logs":[],"status":"0x1","gasUsed":"0x5208","blockNumber":"0x133da1e","transactionHash":"0xad7e04119ecd85857728205f5b12e95f0bab8e99f9c2f60be5dc79cfc6a8df1f"},"transaction":{"to":"0xdac17f958d2ee523a2206206994597c13d831ec7","gas":"0x5208","from":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","hash":"0xad7e04119ecd85857728205f5b12e95f0bab8e99f9c2f60be5dc79cfc6a8df1f","nonce":"0x4d2","value":"0x0","blockNumber":"0x133da1e"}},"meta":{"endpoint":"/api/chain/tx/{hash}","cost_usdc":"0.001","request_id":"00000000abcdef01","payment_chain":"base","payment_token":"USDC"}}},"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_zRhNagOnORET0U8LgDe5J","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 on-chain transaction details for a given Ethereum transaction hash on mainnet or Sepolia testnet","exampleAgentPrompt":"Can you look up the Ethereum transaction 0xad7e04119ecd85857728205f5b12e95f0bab8e99f9c2f60be5dc79cfc6a8df1f on mainnet and tell me who sent it, who received it, and how much ETH was transferred?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the transaction's hash, from address, to address, ETH value (in hex wei), gas limit (hex), nonce (hex), and block number (hex) for the specified transaction on Ethereum mainnet or Sepolia testnet.","failureModes":["Invalid or malformed transaction hash (not matching ^0x[a-fA-F0-9]{64}$) returns an error","Transaction hash not found on the specified network returns null or 404","Network parameter set to an unsupported value returns validation error","Payment not attached or insufficient USDC payment returns 402","Node temporarily unavailable returns 5xx"],"whenToPreferThis":"Use this endpoint when you need structured transaction data (from, to, value, gas, nonce, block number) for a specific Ethereum or Sepolia transaction hash, without requiring an API key — especially in agent workflows using x402 micropayments. Prefer this over general-purpose RPC providers when you need pay-per-call billing in USDC with no account setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:30:02.999Z","isFirstParty":false}