---
title: "List confirmed batches on the main page."
method: GET
path: "/{chain_id}/api/v2/main-page/zksync/batches/confirmed"
tags: ["zksync", "main-page"]
---

# List confirmed batches on the main page.

`GET /{chain_id}/api/v2/main-page/zksync/batches/confirmed`

## Request

- Base URL: `https://api.blockscout.com`
- URL: `https://api.blockscout.com/{chain_id}/api/v2/main-page/zksync/batches/confirmed`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `apikey`
- TypeScript: <https://skmtc.dev/blockscout/apis/blockscout-pro-api/docs/:chain_id/api/v2/main-page/zksync/batches/confirmed/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves up to ten most-recently-committed ZkSync rollup batches, displayed on the main page.

## Path parameters

- `chain_id` string, required

## Response `200`

List of confirmed ZkSync batches.

- object
  - `items` ZkSyncConfirmedBatchListItem[], required
    - `commit_transaction_hash` string, nullable, required: Hash of the parent-chain transaction that committed this batch. `null` until the commit transaction is observed.
    - `commit_transaction_timestamp` string, date-time, nullable, required: Timestamp of the parent-chain transaction that committed this batch. `null` until the commit transaction is observed.
    - `execute_transaction_hash` string, nullable, required: Hash of the parent-chain transaction that executed this batch. `null` until the execute transaction is observed.
    - `execute_transaction_timestamp` string, date-time, nullable, required: Timestamp of the parent-chain transaction that executed this batch. `null` until the execute transaction is observed.
    - `number` integer, required: Batch number on the rollup.
    - `prove_transaction_hash` string, nullable, required: Hash of the parent-chain transaction that proved this batch. `null` until the prove transaction is observed.
    - `prove_transaction_timestamp` string, date-time, nullable, required: Timestamp of the parent-chain transaction that proved this batch. `null` until the prove transaction is observed.
    - `status` 'Executed on L1' | 'Validated on L1' | 'Sent to L1', required: Lifecycle status of the batch: * `Sent to L1` - Commit transaction has been submitted on the parent chain. * `Validated on L1` - Prove transaction has been submitted on the parent chain. * `Executed on L1` - Execute transaction has been submitted on the parent chain.
    - `timestamp` string, date-time, required: Timestamp when the batch was sealed on the rollup.
    - `transactions_count` integer, required: Total number of transactions in the batch (parent-chain originated plus rollup originated).

## Other responses

- `422`: Unprocessable Entity

---

[API](https://skmtc.dev/blockscout/apis/blockscout-pro-api.md) - [All operations](https://skmtc.dev/blockscout/apis/blockscout-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blockscout/apis/blockscout-pro-api/revisions/59ac5466233b?raw)
