{"uid":"cap_vaxqYt7BkpI1ZjWPAxLv3","slug":"beggar-bot-revert-decode-base-mainnet-05d667c8","name":"Beggar Bot Revert Decode (Base Mainnet)","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/revertdecode?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json"},"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_zRArVOB5HOSk8xVINdIe1","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":"Decodes EVM transaction revert reasons on Base mainnet into human-readable error messages","exampleAgentPrompt":"Can you decode this revert data from my failed Base mainnet transaction and tell me in plain English why it reverted: 0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000...?","exampleUseCases":[{"title":"Debug failed DeFi swap","prompt":"My USDC swap on Base just failed and I got revert data back — can you decode it and tell me what went wrong? The revert hex is 0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000013536c69707061676520746f6f206c61726765000000000000000000000000000000."},{"title":"Diagnose contract deployment failure","prompt":"My smart contract deployment on Base mainnet failed with a revert. Here's the revert data: 0x4e487b710000000000000000000000000000000000000000000000000000000000000001 — what does it mean and what should I fix?"},{"title":"Interpret custom Solidity error","prompt":"I'm seeing a custom error revert from a Base mainnet contract call but I can't read the hex. Can you decode 0xe450d38c000000000000000000000000... and tell me which Solidity error it corresponds to and what the parameters are?"}],"resultDescription":"A JSON response containing the decoded human-readable revert reason extracted from the EVM revert data, including the error type (e.g. standard Error(string), Panic code, or custom error name) and any decoded parameters associated with the revert.","failureModes":["Invalid or malformed revert hex data returns an error response","Unrecognized custom error selector (ABI not available) may return partial decode","Missing required input parameters returns a 400-level error","Payment failure via x402 (insufficient USDC balance or wrong network) blocks the call","Rate limiting or worker downtime may cause 5xx errors"],"whenToPreferThis":"Use this endpoint when you need to programmatically decode EVM revert reasons specifically on Base mainnet within an agent workflow, especially when you have raw revert hex data from a failed transaction and want a machine-readable structured explanation. Prefer this over manual ABI decoding when you need fast, pay-per-call decoding without maintaining your own ABI registry.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:44:38.723Z","isFirstParty":false,"canonicalSlug":"beggar-bot-revert-decode-base-mainnet-05d667c8"}