{"uid":"cap_AkzKoNkQ9E0K3zbm8zU6Y","slug":"blockchain-transaction-lookup-by-hash-731b0a94","name":"Blockchain Transaction Lookup by Hash","description":"Use when you need the content of a transaction on Base, Ethereum, Arbitrum, Optimism or Polygon by its hash: sender, recipient, value, nonce, gas limit, gas price fields, input data size and function selector, and whether it is mined or pending.","url":"https://biosfera.46-62-215-147.sslip.io/o/tx-by-hash?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"],"type":"string"},"queryParams":{"type":"object","required":["chain","hash"],"properties":{"hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"chain":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XeJYVr3ClJ4XwPs-0oYUm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 (sender, recipient, value, gas, input data, status) for a given transaction hash on Base, Ethereum, Arbitrum, Optimism, or Polygon.","exampleAgentPrompt":"Can you pull up the full details for Ethereum transaction 0x4a1b2c3d4e5f6789abcdef01234567890abcdef01234567890abcdef012345678 — I need to see who sent it, who received it, the value, and whether it's been mined yet.","exampleUseCases":[{"title":"Audit a suspicious DeFi transaction","prompt":"I got this Arbitrum tx hash 0xabc123...def456 from a DeFi protocol — can you pull up the sender, recipient, value, and the function selector so I can figure out what contract call was made?"},{"title":"Confirm a pending ETH transfer","prompt":"I sent an Ethereum transaction a few minutes ago with hash 0x7f3e9a2b1c4d5e6f7890abcdef1234567890abcdef1234567890abcdef123456 — can you check if it's been mined yet or is still pending?"},{"title":"Investigate on-chain input data","prompt":"Look up this Polygon transaction 0x1a2b3c4d5e6f789012345678abcdef901234567890abcdef901234567890abcde — I want to see the raw input data size and the function selector to understand what method was called."}],"resultDescription":"Returns structured transaction fields including from address, to address, ETH/native value, nonce, gas limit, gas price, input data size, function selector (first 4 bytes of calldata), and whether the transaction is mined (confirmed) or pending in the mempool.","failureModes":["Invalid or malformed transaction hash (must be 0x-prefixed 66-character hex string) returns a validation error","Transaction hash not found on the specified chain returns a not-found error","Unsupported chain value (anything outside base/ethereum/arbitrum/optimism/polygon) returns a schema validation error","Network congestion or RPC node issues may cause timeouts","Payment failure (insufficient USDC balance for $0.002 per call) blocks the request"],"whenToPreferThis":"Use this endpoint when you need raw, authoritative transaction-level data from EVM-compatible chains by a known hash — especially when you need sender, recipient, value, gas fields, and input data all in one call. Prefer this over a transaction receipt endpoint when you also need pending/mempool status or the full gas parameters, not just the execution result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:51:03.429Z","isFirstParty":false,"canonicalSlug":"blockchain-transaction-lookup-by-hash-731b0a94"}