> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blockscout.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List deposits on the main page.

> Retrieves a list of deposits for the main page.



## OpenAPI

````yaml /openapi-specs/pro-api-v11.yaml get /v2/main-page/optimism-deposits
openapi: 3.0.0
info:
  contact:
    email: info@blockscout.com
  title: Blockscout
  version: 11.0.3
servers:
  - url: http://localhost/api
    variables: {}
security: []
tags:
  - name: blocks
  - name: transactions
  - name: addresses
  - name: internal-transactions
  - name: tokens
  - name: token-transfers
  - name: smart-contracts
  - name: config
  - name: main-page
  - name: search
  - name: stats
  - name: csv-export
  - name: account-abstraction
  - name: withdrawals
  - name: advanced-filters
  - name: arbitrum
  - name: legacy
  - name: optimism
  - name: mud
  - name: celo
  - name: scroll
  - name: zilliqa
paths:
  /v2/main-page/optimism-deposits:
    get:
      tags:
        - optimism
      summary: List deposits on the main page.
      description: Retrieves a list of deposits for the main page.
      operationId: BlockScoutWeb.API.V2.OptimismController.main_page_deposits
      parameters:
        - description: API key for rate limiting or for sensitive endpoints
          in: query
          name: apikey
          required: false
          schema:
            type: string
            x-struct: null
            x-validate: null
        - description: Secret key for getting access to restricted resources
          in: query
          name: key
          required: false
          schema:
            type: string
            x-struct: null
            x-validate: null
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/MainPage'
                nullable: false
                type: array
                x-struct: null
                x-validate: null
          description: List of deposits on the main page.
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonErrorResponse'
          description: Unprocessable Entity
      callbacks: {}
components:
  schemas:
    MainPage:
      additionalProperties: false
      description: Optimism Deposit struct for the main page.
      properties:
        l1_block_number:
          type: integer
          x-struct: null
          x-validate: null
        l1_block_timestamp:
          $ref: '#/components/schemas/Timestamp'
        l1_transaction_hash:
          $ref: '#/components/schemas/FullHash'
        l2_transaction_hash:
          $ref: '#/components/schemas/FullHash'
      required:
        - l1_block_number
        - l1_block_timestamp
        - l1_transaction_hash
        - l2_transaction_hash
      title: MainPage
      type: object
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.Optimism.Deposit.MainPage
      x-validate: null
    JsonErrorResponse:
      properties:
        errors:
          items:
            properties:
              detail:
                example: null value where string expected
                type: string
                x-struct: null
                x-validate: null
              source:
                properties:
                  pointer:
                    example: /data/attributes/petName
                    type: string
                    x-struct: null
                    x-validate: null
                required:
                  - pointer
                type: object
                x-struct: null
                x-validate: null
              title:
                example: Invalid value
                type: string
                x-struct: null
                x-validate: null
            required:
              - title
              - source
              - detail
            type: object
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
      required:
        - errors
      title: JsonErrorResponse
      type: object
      x-struct: Elixir.OpenApiSpex.JsonErrorResponse
      x-validate: null
    Timestamp:
      description: Block timestamp of the parent transaction.
      format: date-time
      nullable: false
      title: Timestamp
      type: string
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.General.Timestamp
      x-validate: null
    FullHash:
      nullable: false
      pattern: ^0x([A-Fa-f0-9]{64})$
      title: FullHash
      type: string
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.General.FullHash
      x-validate: null

````