curl -X GET \
"curl https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v1/beacon/states/head/root \
-H "Content-Type: application/json"
Get state SSZ HashTreeRoot
Calculates HashTreeRoot for state with given 'stateId'. If stateId is root, same value will be returned.
State identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", "justified", <slot>, <hex encoded stateRoot with 0x prefix>.
"head"
Success
false
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.
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
HashTreeRoot of BeaconState object