/eth/v1/beacon/deposit_snapshot

Get deposit tree snapshot.

Get the Deposit Tree Snapshot for EIP-4881. It can be returned as either bytes serialized by SSZ or as JSON depending on the Accept header.

Example Request and Result for /v1/beacon/deposit_snapshot

In this section, we provide an illustrative example of a request made to retrieve details contents using the /v1/beacon/deposit_snapshot endpoint. Additionally, we present the resulting response containing information about the deposit snapshot.

Parameters

  • none

The example in this section uses a non-existing project id.

Make sure you replace it with your Ethereum Holesky Beacon endpoint when issuing the API calls.

Don't have a project id? Here's a straightforward guide on how to obtain one!

Get deposit tree snapshot.

GET https://eth-holesky-beacon.blastapi.io/<project-id>//v1/beacon/deposit_snapshot

{
  "data": {
    "finalized": [
      "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
      "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
      "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
    ],
    "deposit_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
    "deposit_count": "1",
    "execution_block_hash": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
    "execution_block_height": "1"
  }
}

Curl Request example

curl -X 'GET' \
  'https://eth-holesky-beacon.blastapi.io/<project-id>/eth/v1/beacon/deposit_snapshot' \
  -H 'accept: application/json'

Last updated