{"uid":"cap_zrgAs9bHzIzVrw0UHoN3-","slug":"scrapemole-onchain-transaction-lookup-1d3ede45","name":"ScrapeMole Onchain Transaction Lookup","description":"Pay-per-call on-chain data for agents on Base and Ethereum, read directly from chain state: Chainlink USD prices (crypto, stablecoins, FX, metals; 10 per call), ERC-20 token info, wallet balances with USD values, transaction lookup with decoded ERC-20 transfers, ENS and Basename resolution (forward and reverse), gas and fee estimates in USD, and Uniswap v3 DEX prices for long-tail tokens (verify a payment arrived). USDC via x402; failed calls are never charged.\n\nPayments: x402 v2, scheme \"exact\", USDC on Base (eip155:8453). The payment is verified before the work and settled only when the response is 200. Terms: https://onchain.scrapemole.workers.dev/terms","url":"https://onchain.scrapemole.workers.dev/v1/tx?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":["hash"],"properties":{"hash":{"type":"string","examples":["0x6c6a66f1d1d3b0cbe2d6d7e1b0b3a8f6c2a0e5d4c3b2a19080706050403020100"],"description":"Transaction hash (0x + 64 hex)."},"chain":{"enum":["base","ethereum"],"type":"string","default":"base","description":"Chain."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","from":"0x…","hash":"0x…","chain":"base","feeEth":"0.0000021","status":"success","gasUsed":"62000","explorer":"https://basescan.org/tx/0x…","valueEth":"0","timestamp":"2026-10-11T18:00:01.000Z","transfers":[{"to":"0x…","raw":"10000","from":"0x…","token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"0.01","symbol":"USDC"}],"blockNumber":36500000,"confirmations":120,"methodSelector":"0xa9059cbb"}},"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_HxkJVOPjvn8cKT_uQp9cS","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 on-chain transaction details for a given hash on Base or Ethereum, including status, gas, value, and decoded ERC-20 token transfers","exampleAgentPrompt":"Can you look up this Base transaction for me — 0x6c6a66f1d1d3b0cbe2d6d7e1b0b3a8f6c2a0e5d4c3b2a19080706050403020100 — and tell me if it succeeded, how much USDC was transferred, and what the gas fee was?","exampleUseCases":[{"title":"Verify USDC payment received","prompt":"A customer says they paid me 50 USDC on Base — here's the transaction hash: 0xabc123...def456. Can you confirm the payment actually went through, how much was sent, and who it came from?"},{"title":"Debug failed on-chain transaction","prompt":"My Ethereum transaction 0xdeadbeef...cafe0000 seems to have failed. Can you pull up the details — status, gas used, and what it was trying to do — so I can figure out what went wrong?"},{"title":"Audit token transfer history","prompt":"For compliance purposes, I need the full details of this Base transaction hash 0x111aaa...222bbb — timestamp, block number, the exact token amounts transferred, sender and recipient addresses, and confirmation count."}],"resultDescription":"Returns a JSON object with the transaction hash, chain, status (success/fail/pending), sender, recipient, value in ETH, fee in ETH, gas used, block number, confirmations, timestamp, explorer URL, method selector, and an array of decoded ERC-20 transfers each containing token contract address, symbol, sender, recipient, raw amount, and human-readable amount.","failureModes":["Invalid or malformed transaction hash returns an error","Transaction hash not found on the specified chain returns a not-found error","Unsupported chain value returns a validation error","Payment failure (x402) means the call is not charged and the request is rejected","RPC or chain node unavailability may cause transient errors"],"whenToPreferThis":"Use this endpoint when you need to verify or audit a specific on-chain transaction by hash on Base or Ethereum, especially to confirm ERC-20 token transfers (e.g. USDC payment verification). It is the right choice when you already have a transaction hash and need decoded transfer details, status, gas costs, or confirmation count. Prefer it over block explorers when you need machine-readable structured data for an agent workflow. It is pay-per-call so suitable for on-demand lookups without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:36:00.538Z","isFirstParty":false,"canonicalSlug":"scrapemole-onchain-transaction-lookup-1d3ede45"}