{"uid":"cap_ybiEsY2W4WZtWWPDamp0-","slug":"blockscout-optimism-withdrawals-count-afa2b570","name":"Blockscout Optimism Withdrawals Count","description":"Explore crypto activities with Blockscout's multichain search. Find transactions, addresses, tokens, and dapps across top blockchain networks — your go-to explorer for cross-chain blockchain data","url":"https://api.blockscout.com/%7Bchain_id%7D/api/v2/optimism/withdrawals/count","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","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","properties":{"chain_id":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":0},"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_06KDvpdEQnCpB6dBz7Tmy","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":"Returns the total count of Optimism L2-to-L1 withdrawals for a specified chain","exampleAgentPrompt":"How many total Optimism L2-to-L1 withdrawals have been processed on chain ID 10? Use Blockscout to get the exact count.","exampleUseCases":[{"title":"Monitoring Optimism bridge withdrawal volume","prompt":"Can you check how many total Optimism withdrawals have been made on chain 10 using Blockscout? I want to track overall bridge usage."},{"title":"Cross-chain analytics dashboard","prompt":"Pull the total count of Optimism L2-to-L1 withdrawals for chain ID 10 from Blockscout so I can add it to my blockchain analytics report."},{"title":"Alerting on withdrawal activity thresholds","prompt":"What's the current total number of Optimism withdrawals on chain 10 via Blockscout? I need to check if we've hit a new milestone."}],"resultDescription":"Returns a single integer representing the total number of Optimism L2-to-L1 withdrawal transactions recorded on the specified chain. Example response: 0 (or any non-negative integer).","failureModes":["Invalid or unsupported chain_id returns an error or empty response","Chain not indexed by Blockscout returns zero or 404","Network timeout for high-traffic chains","Rate limiting if too many requests are made in quick succession"],"whenToPreferThis":"Choose this endpoint when you need a quick scalar count of Optimism bridge withdrawals for a specific chain without needing individual transaction details. Ideal for dashboards, monitoring thresholds, or analytics summaries where only the aggregate number matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:47:16.652Z","isFirstParty":false}