{"uid":"cap_LEt25z6FsaqsWEvWmIMz4","slug":"base-receipt-lookup-98049e3a","name":"Base Receipt Lookup","description":"🆕 The receipt for a Base transaction: success or reverted, block, gas used, effective gas price, the fee in wei and ETH, how many logs it emitted and which contracts emitted them. A contract deployment reports the new address. No receipt yet means pending, dropped, or never here — and it says which is possible instead of failing.","url":"https://402.com.tr/api/x402/base-receipt","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["hash"],"properties":{"hash":{"type":"string","description":"Transaction hash"}}}},"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_mVLTO1632L-9xgA9oF4jw","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":"Retrieves the full receipt for a Base blockchain transaction by hash, including success/revert status, block, gas used, fees, logs, and contract deployment address.","exampleAgentPrompt":"Can you pull up the receipt for Base transaction 0x4a3b…f9c2 and tell me whether it succeeded or reverted, how much gas it used, and what the fee was in ETH?","exampleUseCases":[{"title":"Confirm transaction success after transfer","prompt":"I just sent ETH on Base with hash 0xabc123…def456 — can you check the receipt and tell me if it went through, which block it landed in, and what the total fee was?"},{"title":"Debug a reverted contract call","prompt":"My smart contract call on Base with hash 0x7f2e…8b1a seems to have failed — pull up the receipt and tell me if it reverted, how much gas was consumed, and which contracts emitted logs."},{"title":"Find newly deployed contract address","prompt":"I just deployed a contract on Base with transaction hash 0xd3c9…4ef7 — what address was it deployed to and did the transaction succeed?"}],"resultDescription":"Returns a structured receipt containing: success or reverted status, block number, gas used, effective gas price, transaction fee in both wei and ETH, count of emitted logs, list of contracts that emitted logs, and (for deployments) the new contract address. If no receipt exists, returns a diagnostic explanation indicating whether the transaction is pending, dropped, or was never submitted to Base.","failureModes":["Transaction hash not yet mined — endpoint returns pending/dropped/unknown diagnostic instead of receipt","Invalid or malformed transaction hash — returns error indicating bad input","Transaction submitted to a different network (e.g. Ethereum mainnet) — no receipt found on Base","Hash typo or wrong case — no match found","Payment failure (x402 protocol) — call not executed if USDC payment is insufficient"],"whenToPreferThis":"Use this endpoint when you need structured, detailed receipt data for a specific Base transaction — especially when you need fee breakdowns in both wei and ETH, emitted log metadata, or deployed contract addresses. Prefer it over general block explorers when building automated agents that need machine-readable receipt data without scraping. It also gracefully handles missing receipts by diagnosing pending vs dropped states rather than returning a generic error.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:41:37.952Z","isFirstParty":false}