{"uid":"cap_eMCnaA9xbZXSvla8iGYrM","slug":"pitcrew-transaction-explainer-f42c6f96","name":"PitCrew Transaction Explainer","description":"Why did my transaction fail? Give a chain and tx hash; get status, decoded method, gas used vs limit, fee, token transfers, events and, for failed transactions, the decoded revert reason (Error(string), Panic codes, custom errors resolved by signature) with a plain-language fix. Pending transactions get a stuck-transaction diagnosis (nonce gap, underpriced fee) and the replace/cancel recipe. Chains: ethereum, base, arbitrum, optimism, polygon, bsc.","url":"https://pitcrew-api.appin60.com/tx/explain?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":["chain","hash"],"properties":{"hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Transaction hash"},"chain":{"enum":["ethereum","base","arbitrum","optimism","polygon","bsc"],"type":"string","description":"Network name"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"method":"submitRecord(uint256,uint256,uint256,uint256,bytes)","revert":{"kind":"custom error","signature":"RecordAlreadyExists(uint256)"},"status":"failed","summary":"Failed calling submitRecord(...): custom error RecordAlreadyExists(uint256)."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6Xa0Kp0n_dCeoRHjZItQe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Explains why a blockchain transaction failed by decoding the revert reason, error signature, and method called for a given transaction hash on supported EVM networks.","exampleAgentPrompt":"Why did this Base transaction fail? Hash is 0x3a1b2c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b — can you decode the revert reason and tell me what went wrong?","exampleUseCases":[{"title":"Debug failed DeFi contract call","prompt":"My Arbitrum transaction 0xabc123...def456 just failed and I have no idea why — can you decode the revert reason and explain what went wrong with the contract call?"},{"title":"Diagnose NFT mint revert on Base","prompt":"My NFT mint transaction on Base failed with hash 0x1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1234 — what custom error caused the revert?"},{"title":"Explain DAO governance tx failure","prompt":"A governance transaction on Ethereum with hash 0xdeadbeef1234567890abcdef1234567890abcdef1234567890abcdef12345678 reverted — can you decode what method was called and why it was rejected?"}],"resultDescription":"Returns a JSON object containing: the name and arguments of the method that was called, the revert details (kind such as 'custom error' or 'require', and the error signature), the transaction status ('failed' or 'success'), and a human-readable summary sentence explaining what happened. Example: {method, revert: {kind, signature}, status, summary}.","failureModes":["Invalid or malformed transaction hash (must be 0x-prefixed 64 hex chars) returns an error","Transaction not found on the specified chain returns a not-found error","Unsupported chain name returns a validation error","Network RPC unavailable for the requested chain causes a timeout or 503","Transaction with no revert data may return limited explanation","Payment not received (x402) returns 402 Payment Required before processing"],"whenToPreferThis":"Choose this endpoint when an AI agent or developer needs a plain-language explanation of why a specific EVM transaction failed, including decoding custom Solidity errors and identifying the called method. Ideal for automated debugging pipelines, smart contract development workflows, or DeFi bots that need to interpret on-chain failures programmatically. Supports Ethereum, Base, Arbitrum, Optimism, Polygon, and BSC. At $0.01 USDC per call via x402, it is well-suited for pay-per-use agent workflows where transactions are debugged on demand rather than in bulk.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:35:25.225Z","isFirstParty":false,"canonicalSlug":"pitcrew-transaction-explainer-f42c6f96"}