{"uid":"cap_4swk_TJRPiesGnLXBsIPn","slug":"base-withdrawal-decoder-finalizer-post-beryl-2f452410","name":"Base Withdrawal Decoder & Finalizer (post-Beryl)","description":"🆕 Beryl (2026-06-25) cut the single-proof withdrawal window from 7 days to 5, with a dual-proof fast path at ~1 day. Given a Base withdrawal-initiation tx, this decodes the L2ToL1MessagePasser event (the withdrawalHash, target & value needed to prove/finalize on L1) and estimates the finalization windows under the post-Beryl rules. For agents managing cross-chain liquidity.","url":"https://402.com.tr/api/x402/base-withdrawal","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["tx"],"properties":{"tx":{"type":"string","description":"Base withdrawal-initiation txHash"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CiYhk31niYrGN2CNa6QeS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decodes a Base withdrawal-initiation transaction to extract the L2ToL1MessagePasser event details and estimates finalization windows under post-Beryl (2026-06-25) rules.","exampleAgentPrompt":"I just initiated a Base withdrawal — can you decode tx 0x4a3f...c2b1 and tell me the withdrawalHash, target, value, and when I'll be able to prove and finalize it on L1 under the new Beryl rules?","exampleUseCases":null,"resultDescription":"Returns the decoded L2ToL1MessagePasser event fields (withdrawalHash, target, value) from the withdrawal-initiation transaction, plus estimated timing windows for the single-proof path (~5 days) and the dual-proof fast path (~1 day) under post-Beryl rules, helping agents know when to trigger prove/finalize calls on L1.","failureModes":["Invalid or non-existent transaction hash returns an error","Transaction hash is not a withdrawal-initiation tx (wrong event type)","Base RPC unavailable causing lookup failure","Tx not yet indexed or too recent","Payment not processed — 402 payment required error"],"whenToPreferThis":"Use this endpoint when managing cross-chain liquidity on Base and you need to programmatically determine the parameters and timing required to prove and finalize a withdrawal on L1, especially after the Beryl upgrade changed the withdrawal windows. Prefer this over manual RPC calls when you need structured, decoded output with timing estimates ready for automation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:05:42.846Z","isFirstParty":false}