{"uid":"cap_vEBa6RIxE7CeTWzRLqFve","slug":"transaction-by-hash-base-ethereum-scanpay-3f6c3e33","name":"Transaction by Hash – Base & Ethereum (ScanPay)","description":"Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.","url":"https://scanpay-edge.alextaghiashvili.workers.dev/api/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"},"network":{"enum":["base","ethereum"],"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","gas":21000,"from":"0xd8da6bf26964af9d7eed9e03e53415d37aa96045","hash":"0x834f01e6c76729c794c675897b02457c9ede43101dd93749f07b78001378d8a3","found":true,"nonce":7,"network":"base","product":"scanpay.tx","chain_id":"eip155:8453","price_usd":0.005,"value_eth":0,"value_wei":0,"input_size":0,"block_number":53336036,"gas_price_wei":6000000,"is_contract_creation":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yRTxumPJpchSkgeMNAKOx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up an Ethereum or Base transaction by its hash, returning from/to addresses, value, nonce, gas, and input size.","exampleAgentPrompt":"Can you look up the transaction details for hash 0x834f01e6c76729c794c675897b02457c9ede43101dd93749f07b78001378d8a3 on Base — I need to see who sent it, the value transferred, nonce, and gas used.","exampleUseCases":[{"title":"Verify a payment transaction on Base","prompt":"I just received a payment and want to confirm it actually went through — can you look up transaction 0x834f01e6c76729c794c675897b02457c9ede43101dd93749f07b78001378d8a3 on Base and tell me the from address, value, and block number?"},{"title":"Debug a failed Ethereum contract call","prompt":"This Ethereum tx hash 0xabc123...def — can you pull up its details and tell me the input size, gas used, and whether it was a contract creation? I'm trying to debug what happened."},{"title":"Audit sender address for compliance","prompt":"I need to verify who sent the transaction with hash 0xdeadbeef...1234 on Ethereum — please fetch the from and to addresses and the ETH value so I can check it against our records."}],"resultDescription":"Returns a JSON object with transaction details including: found status, from/to addresses, ETH value (in ETH and wei), nonce, gas limit, gas price in wei, block number, input data size in bytes, whether it was a contract creation, network name, chain ID, and price in USD for the lookup.","failureModes":["Transaction hash not found on the specified network (found: false)","Invalid or malformed transaction hash format","Network not supported (only Base and Ethereum are supported)","RPC node unavailability causing timeout or 5xx error","Missing required query parameter (hash or network)"],"whenToPreferThis":"Use this endpoint when you need quick on-chain transaction lookup by hash for Base or Ethereum networks specifically, without running a full node or integrating a heavier blockchain indexer. It is ideal for agents that need to verify payments, audit on-chain activity, or extract basic transaction metadata in real time at low cost ($0.01/call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:48:47.395Z","isFirstParty":false,"canonicalSlug":"transaction-by-hash-base-ethereum-scanpay-3f6c3e33"}