Skip to main content

/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
info

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!

Curl Request example

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