{"uid":"cap_U2dzaWm4wdqcNEsBPJbZY","slug":"base-transaction-outcome-8a69d770","name":"Base Transaction Outcome","description":"Did my Base transaction work and what did it cost? One call returns success or reverted, gas used, effective gas price, the fee in wei and in exact decimal ETH, confirmations behind the head, sender, recipient, value and log count. Pending and unknown hashes get a definite answer rather than an error.","url":"https://api.zfinia.com/x402/v1/base-transaction-outcome?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VcYW-aFJNrYwj6a5jlrtd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the execution outcome, gas cost, fee in wei and ETH, confirmation depth, sender, recipient, value, and log count for a Base transaction hash, including pending and unknown hashes.","exampleAgentPrompt":"Can you check whether my Base transaction 0x3a7f2c1b8e4d9f0a6c5b2e1d7f3a8c4b9e2d1f0a7c3b6e5d4f2a1c8b7e3d9f0a went through, and tell me how much it cost in ETH and how many confirmations it has?","exampleUseCases":[{"title":"Confirming a DeFi swap succeeded","prompt":"I just submitted a swap on Base — transaction hash 0x4b2e9f1a7c3d8b5e0f6a2c4d1b9e3f7a0c5b8d2e4f1a6c3b7e0d9f2a5c8b1e4d — did it go through or did it revert, and how much did it cost me in ETH?"},{"title":"Auditing a payment sent to a recipient","prompt":"Can you pull up the outcome for Base transaction 0x1f3a8c5b2e9d4f7a0c6b3e1d8f5a2c7b4e0d9f3a6c1b8e5d2f0a7c4b1e3d8f5a and tell me the sender, recipient, ETH value transferred, and whether it confirmed?"},{"title":"Monitoring gas spend on recent transactions","prompt":"For Base tx hash 0x9d2f5a1c8b4e7d3f0a6c2b9e5d1f4a7c3b8e0d6f2a5c1b4e9d7f3a0c6b2e5d8f, how much gas was used, what was the effective gas price, and what was the total fee in wei and in ETH?"}],"resultDescription":"Returns a structured object containing: transaction status (success or reverted), gas used, effective gas price in wei, total fee in wei and decimal ETH, number of confirmations behind the chain head, sender address, recipient address, ETH value transferred, and the count of emitted logs. Pending and unknown hashes receive a definitive status answer rather than an error.","failureModes":["Malformed or incorrectly formatted hash returns a validation error","Network connectivity issues to Base RPC may cause timeout","Very recently submitted transactions may report as pending until included in a block","Hash for a transaction on a different chain (e.g. Ethereum mainnet) will return unknown or not found"],"whenToPreferThis":"Use this endpoint when you need a single comprehensive answer about a Base transaction's outcome — combining status, cost, and confirmation depth in one call — rather than making multiple separate RPC calls. Especially useful when you also need to handle pending or unrecognized hashes gracefully without writing error-handling logic yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:41:11.695Z","isFirstParty":false,"canonicalSlug":"base-transaction-outcome-8a69d770"}