{"uid":"cap_0GR5_uat5WMi4pShwprkY","slug":"transaction-status-by-hash-and-chain-4ae5a2b9","name":"Transaction Status by Hash and Chain","description":"Transaction status by hash and chain from a block explorer behind an API key: receipt success or failure, execution error flag and error description. For confirming and debugging transactions. transaction status, tx receipt, did tx succeed, execution error, tx confirmation Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/contract/tx-status","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":["txhash"],"properties":{"chain":{"type":"string","description":"default ethereum"},"txhash":{"type":"string","description":"transaction hash 0x... 64 hex"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012","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.012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KDHfSyYw7tF8j7TqXhWV3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves transaction receipt status, success/failure flag, and execution error details for a given transaction hash on a specified blockchain","exampleAgentPrompt":"Did my transaction succeed? The tx hash is 0x4a3b2c1d... on Base — can you check if it confirmed and whether there was any execution error?","exampleUseCases":[{"title":"Confirm payment transaction finality","prompt":"I just sent a USDC transfer on Ethereum with tx hash 0x7f9e3a2b... — can you check if it was successfully mined and confirmed, or if something went wrong?"},{"title":"Debug reverted smart contract call","prompt":"My smart contract interaction failed, the tx hash is 0xc8d4e1f0... on Arbitrum. Can you pull the receipt and tell me what the execution error was and why it reverted?"},{"title":"Verify NFT mint succeeded on-chain","prompt":"I submitted an NFT mint transaction on Polygon about 10 minutes ago, hash is 0x2a5b8c3d... — can you check whether it actually went through or if it failed?"}],"resultDescription":"Returns the transaction receipt status (success or failure), an execution error flag indicating whether the transaction reverted, and a human-readable error description if available — allowing the agent to confirm finality or diagnose the cause of failure.","failureModes":["Transaction hash not found on specified chain — returns not found or null receipt","Invalid or malformed transaction hash — returns validation error","Chain not supported — returns unsupported chain error","Block explorer API key rate limit or outage — returns upstream error","Transaction still pending (not yet mined) — receipt may be empty or null"],"whenToPreferThis":"Use this endpoint when you need to confirm whether an on-chain transaction succeeded or failed after broadcasting, or when debugging a reverted smart contract call and need the execution error message. Prefer this over manually querying a block explorer when you need a structured, programmatic response with explicit error flags rather than parsing raw explorer HTML or JSON.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:10:21.289Z","isFirstParty":false}