v1

latestOpenAPI 3.1.02026-07-2612501.4 MB

GetConfigSpec

Get spec params.

Retrieve specification configuration used on this node. The configuration should include:

  • Constants for all hard forks known by the beacon node, for example the phase 0 and altair values
  • Presets for all hard forks supplied to the beacon node, for example the phase 0 and altair values
  • Configuration for the beacon node, for example the mainnet values

Values are returned with following format:

  • any value starting with 0x in the spec is returned as a hex string
  • numeric values are returned as a quoted integer
get/{apiKey}/eth/v1/config/spec

Path parameters

apiKeystring required
<style> .custom-style { color: #048FF4; } </style>

For higher throughput, please <span class="custom-style"><a href="../docs/quick-start-guide#-creating-your-api-key-on-the-zan-platform" target="_blank">create your own API key</a></span>.

Response

Spec params.

dataobject required

Key value mapping of all constants, presets and configuration values for all known hard forks Values are returned with following format:

  • any value starting with 0x in the spec is returned as a hex string
  • numeric values are returned as a quoted integer

Example response

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