curl -X GET \
"https://mainnet.ethereum.validationcloud.io/v1/<YOUR_API_KEY_HERE>/eth/v2/beacon/blocks/head" \
-H "Content-Type: application/json"
Get block attestations
Returns the complete SignedBeaconBlock
for a given block ID.
Depending on the Accept
header it can be returned either as JSON or SSZ-serialized bytes.
Block identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", <slot>, <hex encoded blockRoot with 0x prefix>.
"head"
Success
The SignedBeaconBlock
object envelope from the CL spec.
The BeaconBlock
object from the CL spec.
"1"
The slot to which this block corresponds.
"1"
Index of validator in validator registry.
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
The signing merkle root of the parent BeaconBlock
.
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
The tree hash merkle root of the BeaconState
for the BeaconBlock
.
The BeaconBlockBody
object from the CL spec.
"0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
^0x[a-fA-F0-9]{192}$
The RanDAO reveal value provided by the validator.
The Eth1Data
object from the CL spec.
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
Root of the deposit tree.
"1"
Total number of deposits.
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
Ethereum 1.x block hash.
^0x[a-fA-F0-9]{64}$
The SignedBeaconBlockHeader
object envelope from the CL spec.
The BeaconBlockHeader
object from the CL spec.
"1"
The slot to which this block corresponds.
"1"
Index of validator in validator registry.
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
The signing merkle root of the parent BeaconBlock
.
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
The tree hash merkle root of the BeaconState
for the BeaconBlock
.
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
The tree hash merkle root of the BeaconBlockBody
for the BeaconBlock
"0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
^0x[a-fA-F0-9]{192}$
The SignedBeaconBlockHeader
object envelope from the CL spec.
The BeaconBlockHeader
object from the CL spec.
"1"
The slot to which this block corresponds.
"1"
Index of validator in validator registry.
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
The signing merkle root of the parent BeaconBlock
.
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
The tree hash merkle root of the BeaconState
for the BeaconBlock
.
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
The tree hash merkle root of the BeaconBlockBody
for the BeaconBlock
"0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
^0x[a-fA-F0-9]{192}$
The IndexedAttestation
object from the CL spec.
Attesting validator indices
"1"
"0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
^0x[a-fA-F0-9]{192}$
The BLS signature of the IndexedAttestation
, created by the validator of the attestation.
The AttestationData
object from the CL spec.
"1"
"1"
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
LMD GHOST vote.
"1"
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
"1"
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
The IndexedAttestation
object from the CL spec.
Attesting validator indices
"1"
"0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
^0x[a-fA-F0-9]{192}$
The BLS signature of the IndexedAttestation
, created by the validator of the attestation.
The AttestationData
object from the CL spec.
"1"
"1"
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
LMD GHOST vote.
"1"
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
"1"
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
Attester aggregation bits.
"0x01"
^0x[a-fA-F0-9]+$
"0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
^0x[a-fA-F0-9]{192}$
BLS aggregate signature.
The AttestationData
object from the CL spec.
"1"
"1"
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
LMD GHOST vote.
"1"
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
"1"
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
Branch in the deposit tree.
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
The DepositData
object from the CL spec.
The validator's BLS public key, uniquely identifying them. 48-bytes, hex encoded with 0x prefix, case insensitive.
"0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a"
^0x[a-fA-F0-9]{96}$
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
^0x[a-fA-F0-9]{64}$
The withdrawal credentials.
"1"
Amount in Gwei.
"0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
^0x[a-fA-F0-9]{192}$
Container self-signature.
The VoluntaryExit
object from the CL spec.
"1"
Minimum epoch for processing exit.
"1"
Index of the exiting validator.
"0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
^0x[a-fA-F0-9]{192}$
"0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
^0x[a-fA-F0-9]{192}$