v1

latestOpenAPI 3.0.02026-07-26268286602.5 KB
blocks

List L2 blocks in a Scroll batch

Retrieves L2 blocks that are bound to a specific Scroll batch number.

get/{chain_id}/api/v2/blocks/scroll-batch/{batch_number_param}

Path parameters

batch_number_paraminteger required

Batch number

chain_idstring required

The ID of the blockchain

Query parameters

items_countinteger

Number of items per page

block_numberinteger

Block number for paging

Response

L2 blocks in the specified Scroll batch.

next_page_paramsobject nullable required

Example response

{
  "next_page_params": {
    "block_number": 22566361
  }
}