Skip to main content
GET
/
main-page
/
optimism-deposits
List deposits on the main page.
curl --request GET \
  --url 'https://api.blockscout.com/{chain_id}/api/v2/main-page/optimism-deposits?apikey='
[
  {
    "l1_block_number": 123,
    "l1_block_timestamp": "2023-11-07T05:31:56Z",
    "l1_transaction_hash": "<string>",
    "l2_transaction_hash": "<string>"
  }
]

Authorizations

apikey
string
query
required

API key for authentication. Required for all Pro API endpoints. Obtain your API key at https://dev.blockscout.com/

Query Parameters

apikey
string
required

API key for rate limiting or for sensitive endpoints

key
string

Secret key for getting access to restricted resources

Response

List of deposits on the main page.

l1_block_number
integer
required
l1_block_timestamp
string<date-time>
required
l1_transaction_hash
string
required
Pattern: ^0x([A-Fa-f0-9]{64})$
l2_transaction_hash
string
required
Pattern: ^0x([A-Fa-f0-9]{64})$