{"uid":"cap_AY_mlF2ISSvVPQsx4L-Ld","slug":"onchain-toolkit-transaction-status-lookup-4836ee64","name":"Onchain Toolkit - Transaction Status Lookup","description":"Whether a transaction succeeded, failed or is pending, with block, sender, recipient, value, gas used and the fee actually paid.","url":"https://onchain-toolkit.bowling-anthony.workers.dev/tx","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"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"status":"success","blockNumber":50372336}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xNrrgDxJLzXB1WsW8at9g","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the status, block, sender, recipient, value, gas used, and fee paid for a blockchain transaction by hash.","exampleAgentPrompt":"Can you check the status of this transaction — was it successful, and how much gas and fee did it actually end up paying? The tx hash is 0xabc123...","exampleUseCases":[{"title":"Confirm a crypto payment landed","prompt":"I just sent some ETH to a vendor — can you look up transaction 0xd4e5f6... and confirm it succeeded, and tell me how much the final fee was?"},{"title":"Debug a failed DeFi transaction","prompt":"My swap transaction 0x789abc... seems to have failed — can you pull up its status, the sender and recipient, and how much gas was consumed?"},{"title":"Audit on-chain transfer records","prompt":"For the transaction hash 0x111222333..., can you get me the full breakdown: block it landed in, who sent it, who received it, the value transferred, and the exact fee paid?"}],"resultDescription":"Returns whether the transaction succeeded, failed, or is pending, along with the block number it was included in, the sender and recipient addresses, the value transferred, gas used, and the actual fee paid in native currency.","failureModes":["Transaction hash not found or invalid — returns an error or empty result","Network/chain not specified or unsupported — may default to one chain or return an error","Transaction is still pending — status returned as pending with limited fields","Rate limiting or payment failure for the $0.001 USDC per-call fee","Malformed query parameters leading to a 400 bad request"],"whenToPreferThis":"Use this endpoint when you need a quick, low-cost single-transaction status and detail lookup on a blockchain, especially for confirming payments, debugging failed transactions, or auditing fee data. It is well-suited for AI agents that need to programmatically verify on-chain activity without running a full node. Prefer this over block explorer UIs when you need structured, parseable data in an agent workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:39:56.796Z","isFirstParty":false}