{"uid":"cap_sgF1m1hqJzrksligmkXuX","slug":"x402-agent-hub-evm-transaction-status-39a8f150","name":"x402 Agent Hub – EVM Transaction Status","description":"Status of any transaction on 7 EVM chains: pending / success / reverted, confirmations, block time, from/to, value and the all-in fee (including the OP-stack L1 data fee on Base and Optimism). Use it to confirm a payment or deployment landed. You only pay for successful reads: invalid input, not-found and upstream errors cancel settlement.","url":"https://x402-agent-hub.x402-agent-hub.workers.dev/v1/chain/tx?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","description":"0x-prefixed 32-byte transaction hash."},"chain":{"type":"string","description":"base (default), ethereum, arbitrum, optimism, polygon, bsc or avalanche. Chain IDs also accepted."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"0xcb1838c233d5dc4cc1942312c066474d1186790d","fee":{"raw":"21064060127140","symbol":"ETH","decimals":18,"formatted":"0.00002106406012714"},"from":"0xc1a86592ec35568a99046378e2d849b03acc74d6","hash":"0x4f9955a6481d1386b261c3a9e68bc385df78d40190fe8cef895942283e33d985","chain":"base","value":{"raw":"5000000000000000","symbol":"ETH","decimals":18,"formatted":"0.005"},"status":"success","chainId":8453,"blockNumber":30000000,"timestampUtc":"2025-05-09T11:15:47.000Z","confirmations":23303683}},"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_FTbzpR2ibDrRRv2mxfZ9R","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":"Fetches the status, confirmations, block metadata, and all-in fee for a transaction hash on any of 7 supported EVM chains","exampleAgentPrompt":"Can you check whether transaction 0x4f9955a6481d1386b261c3a9e68bc385df78d40190fe8cef895942283e33d985 on Base succeeded, and tell me how many confirmations it has and the total fee paid?","exampleUseCases":[{"title":"Confirm payment landed on-chain","prompt":"I just sent 0.005 ETH to a vendor — can you check if transaction 0x4f9955a6481d1386b261c3a9e68bc385df78d40190fe8cef895942283e33d985 on Base actually went through and show me the status and confirmations?"},{"title":"Verify smart contract deployment","prompt":"My contract deployment should have landed on Arbitrum — can you look up tx hash 0xabc123...def456 and tell me whether it succeeded or reverted, and what block it was included in?"},{"title":"Audit transaction fee on Optimism","prompt":"I need to know the full fee breakdown for this Optimism transaction 0x7e8d...1234 — including the L1 data fee — so I can reconcile it in my accounting records."}],"resultDescription":"A JSON object containing the transaction hash, chain name and chain ID, status (pending/success/reverted), from and to addresses, ETH value (raw and formatted), all-in fee (raw and formatted, including OP-stack L1 data fee where applicable), block number, UTC timestamp, and number of confirmations.","failureModes":["Invalid or malformed transaction hash returns an error and cancels settlement","Transaction not found on the specified chain returns not-found error with no charge","Unsupported chain identifier returns validation error","Upstream RPC node unavailability cancels settlement with no charge","Transaction still pending may return pending status with zero confirmations"],"whenToPreferThis":"Use this endpoint when you need a single, unified API to check transaction status, fee data (including OP-stack L1 fees on Base/Optimism), and confirmation counts across 7 EVM chains without running your own RPC nodes. Ideal for payment confirmation workflows, deployment verification, and on-chain accounting reconciliation. Prefer it over raw RPC calls when you want pre-formatted values, chain abstraction, and pay-per-successful-read pricing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-14T12:34:12.678Z","isFirstParty":false,"canonicalSlug":"x402-agent-hub-evm-transaction-status-39a8f150"}