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

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.

Query Parameters

apikey
string

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

Block timestamp of the parent transaction.

l1_transaction_hash
string
required
Pattern: ^0x([A-Fa-f0-9]{64})$
l2_transaction_hash
string
required
Pattern: ^0x([A-Fa-f0-9]{64})$