Beacon
ValidatorRequiredApi

Get Fork object for requested state

Returns Fork object for state with given 'stateId'.

get/eth/v1/beacon/states/{state_id}/fork

Request

  • Base URL
    eth2-beacon-mainnet.nodereal.io/v1/api_key (relative, and the document’s source URL is not known)
  • URL
    eth2-beacon-mainnet.nodereal.io/v1/api_key/eth/v1/beacon/states/{state_id}/fork
  • Auth
    none declared

Path parameters

state_idstring required

State identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", <slot>, <hex encoded stateRoot with 0x prefix>.

Response

Success

execution_optimisticboolean

True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.

Example response

{
  "data": {
    "previous_version": "0x00000000",
    "current_version": "0x00000000",
    "epoch": "1"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.