{"uid":"cap_4_4EI2xCoYWL9AOP-Xxi6","slug":"blockscout-zksync-confirmed-batches-911ffc32","name":"Blockscout ZKsync Confirmed Batches","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/main-page/zksync/batches/confirmed","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":{"items":[{"number":0,"status":"string","timestamp":"string","transactions_count":0,"prove_transaction_hash":"string","commit_transaction_hash":"string","execute_transaction_hash":"string","prove_transaction_timestamp":"string","commit_transaction_timestamp":"string","execute_transaction_timestamp":"string"}]}},"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_mK8Ja3zwqgJWOCuwLIIrn","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 a list of confirmed ZKsync batch records from the Blockscout blockchain explorer API, including commit, prove, and execute transaction details.","exampleAgentPrompt":"Can you pull the latest confirmed ZKsync batches from Blockscout and show me the batch numbers, how many transactions each contains, and the commit and execute transaction hashes?","exampleUseCases":[{"title":"ZKsync batch finality monitoring","prompt":"Check Blockscout for confirmed ZKsync batches right now — I want to see the batch numbers, timestamps, and whether they've been proven and executed on L1."},{"title":"Rollup settlement audit","prompt":"I need to audit recent ZKsync batch settlements — pull the confirmed batches from Blockscout and give me the commit hash, prove hash, and execute hash for each one."},{"title":"Transaction throughput analysis","prompt":"Fetch the latest confirmed ZKsync batches from Blockscout and tell me how many transactions were bundled in each batch so I can estimate rollup throughput."}],"resultDescription":"Returns a paginated list of confirmed ZKsync batch objects, each containing: batch number, status string, timestamp, transaction count, and the hashes and timestamps of the corresponding commit, prove, and execute transactions on L1.","failureModes":["Invalid or unsupported chain_id returns 404 or empty response","Network unavailability returns 5xx error","No confirmed batches yet returns empty items array","Rate limiting returns 429 too many requests"],"whenToPreferThis":"Use this endpoint when you specifically need ZKsync rollup batch confirmation data — including L1 commit, prove, and execute transaction hashes — from Blockscout. Prefer this over generic block explorers when you need structured batch lifecycle data across ZKsync's settlement pipeline, or when you need the main-page summary view of confirmed batches rather than raw transaction queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-09T18:42:19.550Z","isFirstParty":false}