{"uid":"cap_an2Phf69yEJOz93h1gtPj","slug":"blockscout-scroll-batch-blocks-lookup-e9ca05ef","name":"Blockscout Scroll Batch Blocks Lookup","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/blocks/scroll-batch/%7Bbatch_number_param%7D","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"},"batch_number_param":{"type":"integer"}}},"queryParams":{"type":"object","properties":{"items_count":{"type":"integer"},"block_number":{"type":"integer"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"items":[{"hash":"string","size":0,"type":"string","miner":{},"nonce":"string","height":0,"rewards":[{"type":"string","reward":"string"}],"arbitrum":{"status":"string","send_root":"string","send_count":0,"batch_number":0,"l1_block_number":0,"delayed_messages":0,"batch_data_container":"string","commitment_transaction":{"hash":"string","status":"string","timestamp":"string"},"confirmation_transaction":{"hash":"string","status":"string","timestamp":"string"}},"gas_used":"string","gas_limit":"string","timestamp":"string","burnt_fees":"string","difficulty":"string","parent_hash":"string","priority_fee":"string","uncles_hashes":[{"hash":"string"}],"base_fee_per_gas":"string","total_difficulty":"string","transaction_fees":"string","is_pending_update":true,"withdrawals_count":0,"transactions_count":0,"gas_used_percentage":0,"burnt_fees_percentage":0,"gas_target_percentage":0,"internal_transactions_count":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_Okl3_b-O8U6AWzT_tykAh","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 blocks associated with a specific Scroll L2 batch number on a given blockchain network via Blockscout","exampleAgentPrompt":"Using Blockscout, pull up all the blocks in Scroll batch number 42 on chain ID 534352 and show me the transaction counts and gas usage for each block.","exampleUseCases":[{"title":"Audit L2 batch block composition","prompt":"Can you fetch all the blocks included in Scroll batch 1500 on chain 534352 via Blockscout and tell me how many transactions each block had?"},{"title":"Monitor gas usage across a batch","prompt":"I need to check the gas used and burnt fees for every block in Scroll batch number 200 on chain ID 534352 — can you pull that from Blockscout?"},{"title":"Paginate through large batch block list","prompt":"Get me the next page of blocks for Scroll batch 999 on chain 534352 starting after block number 8450000, showing 25 items at a time using Blockscout."}],"resultDescription":"Returns a paginated list of block objects belonging to the specified Scroll batch, each containing block hash, height, type, miner info, gas used/limit, timestamp, transaction count, burnt fees, base fee per gas, difficulty, and Arbitrum/Scroll-specific metadata. Also includes next_page_params for cursor-based pagination.","failureModes":["Invalid chain_id returns 404 or empty result","Non-existent batch_number_param returns empty items array","Malformed batch_number_param (non-integer) may return 400 bad request","Network timeout if chain node is slow or unavailable","Pagination cursor mismatch if block_number or items_count are inconsistent with prior page"],"whenToPreferThis":"Use this endpoint when you need to enumerate and inspect the specific blocks included in a Scroll L2 rollup batch on Blockscout. It is ideal for batch-level auditing, gas analysis, or transaction throughput monitoring tied to a specific Scroll batch submission. Prefer this over generic block list endpoints when the Scroll batch number is the primary identifier you have.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-10T00:56:32.965Z","isFirstParty":false}