/eth/v1/config/spec

Get spec params.

Obtain the configuration used for the specification on this node. The setup must to consist of:

  • Constants, such as phase 0 and altair values, for any hard forks that the beacon node is aware of

  • All hard fork presets that are sent to the beacon node, such as phase 0 and altair values

  • beacon node configuration, such as the mainnet values

The following format is used for returning values:

  • Numerical values are returned as a quoted integer;

  • any number in the specification beginning with 0x is returned as a hex string.

Example Request and Result for /v1/config/spec

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

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 spec params.

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

{
  "data": {
    "DEPOSIT_CONTRACT_ADDRESS": "0x00000000219ab540356cBB839Cbe05303d7705Fa",
    "DEPOSIT_NETWORK_ID": "1",
    "DOMAIN_AGGREGATE_AND_PROOF": "0x06000000",
    "INACTIVITY_PENALTY_QUOTIENT": "67108864",
    "INACTIVITY_PENALTY_QUOTIENT_ALTAIR": "50331648"
  }
}

Curl Request example

curl -X 'GET' \
  'https://eth-holesky-beacon.blastapi.io/<project_id>/eth/v1/config/spec' \
  -H 'accept: application/json'

Last updated