{"uid":"cap_TQ2bLFKYE51q9FDaboAYs","slug":"transaction-receipt-lookup-base-ethereum-4e7677f7","name":"Transaction Receipt Lookup - Base & Ethereum","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-receipt?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":{"hash":"0x834f01e6c76729c794c675897b02457c9ede43101dd93749f07b78001378d8a3","found":true,"status":1,"network":"base","product":"scanpay.tx_receipt","success":true,"chain_id":"eip155:8453","gas_used":21000,"price_usd":0.005,"logs_count":0,"block_number":53336036,"contract_address":null,"cumulative_gas_used":21000,"effective_gas_price_wei":6000000}},"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_JUtAu_RHz4tB9JsQeGbSG","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":"Retrieves a transaction receipt by hash on Base or Ethereum, returning success status, gas used, logs count, and contract address.","exampleAgentPrompt":"Can you pull up the transaction receipt for hash 0x834f01e6c76729c794c675897b02457c9ede43101dd93749f07b78001378d8a3 on Base and tell me if it succeeded and how much gas was used?","exampleUseCases":[{"title":"Confirm DeFi transaction success","prompt":"I just submitted a swap on Base with tx hash 0xabc123... — can you check the receipt and confirm it went through successfully and how much gas it consumed?"},{"title":"Verify smart contract deployment","prompt":"We just deployed a contract on Ethereum with this transaction hash 0xdef456... — can you get the receipt and tell me what contract address was created?"},{"title":"Audit gas costs for a transaction","prompt":"Can you look up the receipt for Ethereum transaction 0x789ghi... and give me the gas used, effective gas price, and block number so I can reconcile our gas spend?"}],"resultDescription":"Returns a JSON object with: transaction hash, found flag, success status (0/1), network name, chain ID, gas used, cumulative gas used, effective gas price in wei, logs count, block number, contract address (if a deployment), and the price paid for the lookup in USD.","failureModes":["Transaction hash not found on the specified network returns found: false","Invalid or malformed transaction hash results in an error response","Network congestion or RPC node unavailability may cause timeouts","Querying a hash from a different network than specified returns no result"],"whenToPreferThis":"Use this endpoint when you need to confirm on-chain transaction outcomes on Base or Ethereum — especially for verifying smart contract deployments, auditing gas costs, or checking success/failure status of a specific transaction hash. It is purpose-built for per-hash receipt lookups and exposes structured fields (gas used, logs count, contract address) not always easy to parse from raw RPC responses.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:49:58.131Z","isFirstParty":false,"canonicalSlug":"transaction-receipt-lookup-base-ethereum-4e7677f7"}