---
title: "List deposits on the main page."
method: GET
path: "/{chain_id}/api/v2/main-page/optimism-deposits"
tags: ["optimism"]
---

# List deposits on the main page.

`GET /{chain_id}/api/v2/main-page/optimism-deposits`

Retrieves a list of deposits for the main page.

## Path parameters

- `chain_id` string, required

## Response `200`

List of deposits on the main page.

- MainPage[]
  - `l1_block_number` integer, required
  - `l1_block_timestamp` string, date-time, required
  - `l1_transaction_hash` string, required
  - `l2_transaction_hash` string, required

## Other responses

- `422` — Unprocessable Entity

---

[API](https://skmtc.net/blockscout/apis/blockscout-pro-api.md) · [All operations](https://skmtc.net/blockscout/apis/blockscout-pro-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blockscout/blockscout-pro-api/revisions/59ac5466233b/schema)
