{"uid":"cap_hEkGtpVrCVXJoc0tAHOwa","slug":"brainiac-chain-data-transaction-receipt-lookup-61e930ca","name":"BRAINIAC Chain Data — Transaction Receipt Lookup","description":"Retrieve the receipt and status for a specific transaction on Base Mainnet, including logs and gas used.","url":"https://www.brainiac.software/api/v1/chain-data/transaction/receipt?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"txHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"}}},"responseSchema":{"type":"json","example":{"source":{"url":"https://mainnet.base.org","status":"UNAVAILABLE"},"txHash":"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","receipt":null,"retrievedAt":"2026-11-07T12:08:59.052Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_t1bV4Zl8UclSesvjb-drP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves the on-chain transaction receipt for a given EVM transaction hash","exampleAgentPrompt":"Can you fetch the transaction receipt for tx hash 0x3a1b2c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b and tell me whether it succeeded and how much gas was used?","exampleUseCases":[{"title":"Verify payment transaction on-chain","prompt":"I sent a USDC payment and got back tx hash 0x1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1234 — can you pull the receipt and confirm it was successful?"},{"title":"Audit smart contract interaction result","prompt":"We just executed a smart contract call and the tx hash is 0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab — fetch the receipt so I can see the logs and whether it reverted."},{"title":"Check gas cost of a transaction","prompt":"How much gas did transaction 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef actually consume? Can you grab the receipt for me?"}],"resultDescription":"Returns a JSON transaction receipt object containing fields such as transaction status (success/failure), block number, gas used, cumulative gas used, contract address (if contract deployment), transaction logs/events, and other standard EVM receipt fields.","failureModes":["Invalid or malformed txHash (not matching ^0x[0-9a-fA-F]{64}$) returns a validation error","Transaction hash not found on the target chain returns a not-found or null response","Network or RPC node unavailability may cause timeout or 5xx errors","Payment failure via x402 prevents the call from being processed","Pending/unconfirmed transactions may return no receipt yet"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call lookup of an EVM transaction receipt without setting up an account or managing API keys. It is ideal for agents that infrequently need on-chain receipt data and want to pay only for what they use via USDC micropayments on Base. Prefer it over self-hosted RPC node queries or subscription-based blockchain APIs when simplicity and minimal setup are priorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-16T18:39:48.109Z","isFirstParty":false,"canonicalSlug":"brainiac-chain-data-transaction-receipt-lookup-61e930ca"}