{"uid":"cap_eAW-7aXm3rBeFr7ASJyMK","slug":"blockscout-scroll-batches-api-dbd4d0b3","name":"Blockscout Scroll Batches API","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/scroll/batches","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"}}},"queryParams":{"type":"object","properties":{"number":{"type":"integer"},"items_count":{"type":"integer"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"items":[{"number":0,"end_block_number":0,"data_availability":{"batch_data_container":"string"},"start_block_number":0,"transactions_count":0,"commitment_transaction":{"hash":"string","timestamp":"string","block_number":0},"confirmation_transaction":{"hash":"string","timestamp":"string","block_number":0}}],"next_page_params":{}}},"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_GzswbEdGZc88Eh7qlG8q1","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":"Retrieves paginated list of Scroll L2 batch data including block ranges, transaction counts, and commitment/confirmation transaction details for a given chain","exampleAgentPrompt":"Show me the latest Scroll L2 batches on chain ID 534352 — I want to see the batch numbers, the block ranges they cover, how many transactions each batch contains, and the commitment and confirmation transaction hashes.","exampleUseCases":[{"title":"Monitor Scroll batch finalization status","prompt":"Check the most recent Scroll rollup batches on chain 534352 and tell me which ones have been confirmed on-chain, including their confirmation transaction hashes and timestamps."},{"title":"Audit specific Scroll batch details","prompt":"Pull up Scroll batch number 42000 on chain 534352 — I need to see the start and end block numbers, how many transactions it included, and the commitment transaction hash."},{"title":"Paginate Scroll batch history for analysis","prompt":"Give me the last 25 Scroll L2 batches on chain 534352 so I can analyze the trend in transaction counts and data availability containers across recent batches."}],"resultDescription":"Returns a paginated list of Scroll L2 batches, each containing the batch number, start and end block numbers, transaction count, data availability container type, commitment transaction (hash, timestamp, block number), confirmation transaction (hash, timestamp, block number), and next_page_params for cursor-based pagination.","failureModes":["Invalid or unsupported chain_id returns an error or empty response","Batch number out of range returns empty items array","Malformed query parameters cause 400 Bad Request","Payment not fulfilled returns 402 Payment Required","Rate limiting may return 429 Too Many Requests","Chain not indexed by Blockscout returns empty or error response"],"whenToPreferThis":"Use this endpoint when you need structured, paginated access to Scroll L2 batch data including block ranges, transaction counts, and on-chain commitment/confirmation proofs. Prefer this over generic block explorers when you need machine-readable rollup batch metadata with data availability info, or when building dashboards or monitoring tools for Scroll L2 finalization.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-12T00:53:04.049Z","isFirstParty":false}