Get block
Retrieves block details for given block id. Depending on Accept
header it can be returned either as JSON or as bytes serialized by SSZ
Parameters
Name | Required | Type | Detail |
---|---|---|---|
block_id | ✅ | String | Block identifier. Can be one of: "head" (canonical head in node's view), "genesis", "finalized", , <hex encoded blockRoot with 0x prefix>. Example : head |
Result
Retrieves block details.
Example
Request
curl <your-endpoint>/eth/v1/beacon/blocks/143456
Return
{
"data": {
"message": {
"slot": "143456",
"proposer_index": "6204",
"parent_root": "0x510a4b16091f0c682d1039dd8322be0037e5f0513ebc6781a626ac4842c366fb",
"state_root": "0x568910db1e6e9f29c0f0c7f5ef05d8ae940911b1f3246ab520a287bb78adfa87",
"body": {
"randao_reveal": "0xb9a81613f4a81cfe21afdb68a87c3c2fd3c457f2d3b60babb8af88bb3c236445b6867c6cacdbb3bba0e612c331e00a50097154f7e3841de0b4ca005b6c2b015c6c022dc5a89e61c79018fc428817f403bd768da0f836a9ffc699e1a2393247c6",
"eth1_data": {
"deposit_root": "0x586d67d67eb4db93056669442a0f91a7adae79aad1be4048b1b4662bf16030b9",
"deposit_count": "52962",
"block_hash": "0x3a8c8ae7e4e9e7913717873f1f1cc55bd618c10ce2a71d6d43145425bd007b43"
},
"graffiti": "0x0000000000000000000000000000000000000000000000000000000000000000",
"proposer_slashings": [],
"attester_slashings": [],
"attestations": [
{
"aggregation_bits": "0xffffffffffffffffffffffffffffffffff",
"data": {
"slot": "143455",
"index": "7",
"beacon_block_root": "0x510a4b16091f0c682d1039dd8322be0037e5f0513ebc6781a626ac4842c366fb",
"source": {
"epoch": "4481",
"root": "0xd932b8e92bba865716fae422423be82bdc484c86160b4f0107bb55491c0bd656"
},
"target": {
"epoch": "4482",
"root": "0xc8d2a77415d665f046bf0c2e04c96105435f21686e72456619423f9ab0b4653b"
}
},
"signature": "0x91c859a3bab2308d9bbb60abe1123be20fa90f269c2417c84d0181ae61f6d510685e73c14c2658e3a019976d373fec14050646c9e83613854863f15c1dc5d8929228dc3e394cc65daaffd3713de9c21515db07c928c5dc591b5dccbd1ff425ac"
},
{
"aggregation_bits": "0xffffffffffffffffffffffffffffffff7f",
"data": {
"slot": "143455",
"index": "0",
"beacon_block_root": "0x510a4b16091f0c682d1039dd8322be0037e5f0513ebc6781a626ac4842c366fb",
"source": {
"epoch": "4481",
"root": "0xd932b8e92bba865716fae422423be82bdc484c86160b4f0107bb55491c0bd656"
},
"target": {
"epoch": "4482",
"root": "0xc8d2a77415d665f046bf0c2e04c96105435f21686e72456619423f9ab0b4653b"
}
},
"signature": "0xb483bc725b1efefdd927e8b0948726b18e7cca56557109ab0b560585cb0dd7d401b0ec9a7b7981869441bb824c5861440d7ed31f957c131d058d1cda64c4160bf0a87750a85a3c8d9042c20c6ba22b6a1574222c687056deea41ebb5cd344092"
},
{
"aggregation_bits": "0xfffffffbfffffffffffffffffdffffffff",
"data": {
"slot": "143455",
"index": "4",
"beacon_block_root": "0x510a4b16091f0c682d1039dd8322be0037e5f0513ebc6781a626ac4842c366fb",
"source": {
"epoch": "4481",
"root": "0xd932b8e92bba865716fae422423be82bdc484c86160b4f0107bb55491c0bd656"
},
"target": {
"epoch": "4482",
"root": "0xc8d2a77415d665f046bf0c2e04c96105435f21686e72456619423f9ab0b4653b"
}
},
"signature": "0x8ce8375d3af182772883f21b711673dcef21ff635cb8858ab5dbf8d26416d928d49e16da5d7bb0207b681bf2bbb4a64a188b5caab454991497a6a4f9b2079fb7061c877b8ad8fe5a9d927e7014d071dbe6acb1d67e90065da3bb449079490966"
},
{
"aggregation_bits": "0xffffbffffffdfffffbffffffffffffffff",
"data": {
"slot": "143455",
"index": "2",
"beacon_block_root": "0x510a4b16091f0c682d1039dd8322be0037e5f0513ebc6781a626ac4842c366fb",
"source": {
"epoch": "4481",
"root": "0xd932b8e92bba865716fae422423be82bdc484c86160b4f0107bb55491c0bd656"
},
"target": {
"epoch": "4482",
"root": "0xc8d2a77415d665f046bf0c2e04c96105435f21686e72456619423f9ab0b4653b"
}
},
"signature": "0x8511388eca2e17e026ed1d7ec383a5eddc57859a8aea65d7af03c3efd9beec8628e90079f4bb7b40cb85752a7659c7ad18ecc257a58745a2bb55d7d62a47d0f4b02fc3849ea31ea746be6374fe49c8c8df2681775172be41aca7aa991e179b7b"
},
{
"aggregation_bits": "0xffffffffffffffffff6ffffffffdffff7f",
"data": {
"slot": "143455",
"index": "3",
"beacon_block_root": "0x510a4b16091f0c682d1039dd8322be0037e5f0513ebc6781a626ac4842c366fb",
"source": {
"epoch": "4481",
"root": "0xd932b8e92bba865716fae422423be82bdc484c86160b4f0107bb55491c0bd656"
},
"target": {
"epoch": "4482",
"root": "0xc8d2a77415d665f046bf0c2e04c96105435f21686e72456619423f9ab0b4653b"
}
},
"signature": "0xaf6c5694869ea0e131de373193b63b706b33522cdbb83365d1a0e1391a54194b5d4cb019d8aa605269886d76f85df26207a40f9cd3d6d1fc3f1cd494e5bb437704b25ac8402506a1260c40c40b377d400784d7a40c0a38acde0de809f5cd9d7c"
},
{
"aggregation_bits": "0xffffffe7fffffffffff7fffdffffffffff",
"data": {
"slot": "143455",
"index": "8",
"beacon_block_root": "0x510a4b16091f0c682d1039dd8322be0037e5f0513ebc6781a626ac4842c366fb",
"source": {
"epoch": "4481",
"root": "0xd932b8e92bba865716fae422423be82bdc484c86160b4f0107bb55491c0bd656"
},
"target": {
"epoch": "4482",
"root": "0xc8d2a77415d665f046bf0c2e04c96105435f21686e72456619423f9ab0b4653b"
}
},
"signature": "0x8af1813a6ad9a19c84ef1c79f9839c668bfe9bf119a85314f692f134a006058dea772fcf9b1610dc44357623a6388c25126e2dc2ee74e8807c0f263e3bcde8b7848d96fdd3f22f539d2841d12169853aa637fb72e7f793165d13934157b43211"
},
{
"aggregation_bits": "0xfffdfffffffeffefffffffffffff7fff7f",
"data": {
"slot": "143455",
"index": "6",
"beacon_block_root": "0x510a4b16091f0c682d1039dd8322be0037e5f0513ebc6781a626ac4842c366fb",
"source": {
"epoch": "4481",
"root": "0xd932b8e92bba865716fae422423be82bdc484c86160b4f0107bb55491c0bd656"
},
"target": {
"epoch": "4482",
"root": "0xc8d2a77415d665f046bf0c2e04c96105435f21686e72456619423f9ab0b4653b"
}
},
"signature": "0x8a87825227e24c954e21611606d8e87b7e703ba30e52d8d46f203e736cb2b54254ed0a4ac923cbdf94931ea755979852052c72ebd68f5550af780aa83deb216d3db64e23b7063338d08d20a3f0686d57bc4395ea0b44fc940bad5f5ee70d5b79"
},
{
"aggregation_bits": "0xffffffffffff7ffffbfdfffffffffefdff",
"data": {
"slot": "143455",
"index": "5",
"beacon_block_root": "0x510a4b16091f0c682d1039dd8322be0037e5f0513ebc6781a626ac4842c366fb",
"source": {
"epoch": "4481",
"root": "0xd932b8e92bba865716fae422423be82bdc484c86160b4f0107bb55491c0bd656"
},
"target": {
"epoch": "4482",
"root": "0xc8d2a77415d665f046bf0c2e04c96105435f21686e72456619423f9ab0b4653b"
}
},
"signature": "0x92c881cc022abef3e13d6aa8b39ccb2fe02b56d53fbfea924957c61ba564f9cf36b146d7d6064e409390d9c7ef6d5a07046bafa852af0c40073a503a4756bc25a47dbdf05176ba9830cdf575cd7de0af5d611b11d6169173045b96c5f6bb1e6b"
},
{
"aggregation_bits": "0xfffffefffffffffeffffdfc7ffffffffff",
"data": {
"slot": "143455",
"index": "1",
"beacon_block_root": "0x510a4b16091f0c682d1039dd8322be0037e5f0513ebc6781a626ac4842c366fb",
"source": {
"epoch": "4481",
"root": "0xd932b8e92bba865716fae422423be82bdc484c86160b4f0107bb55491c0bd656"
},
"target": {
"epoch": "4482",
"root": "0xc8d2a77415d665f046bf0c2e04c96105435f21686e72456619423f9ab0b4653b"
}
},
"signature": "0x8da1cad097608ecd7ffda95b6e12aea0fc639a3dcb7934202beda6b2bc60d0ccef5420123f1561e805c04492c0cc4b881599b9c50ed698f8756b273e2716037fb7ff03677d988d7863796d8373b2bb8f704e0ec3a37274104a770ecaba271195"
},
{
"aggregation_bits": "0x0000000000000000000000000002000040",
"data": {
"slot": "143455",
"index": "3",
"beacon_block_root": "0x0d223174a74ec22551686a61150493924cbeb16915bff58d38369cac9c28726d",
"source": {
"epoch": "4481",
"root": "0xd932b8e92bba865716fae422423be82bdc484c86160b4f0107bb55491c0bd656"
},
"target": {
"epoch": "4482",
"root": "0xc8d2a77415d665f046bf0c2e04c96105435f21686e72456619423f9ab0b4653b"
}
},
"signature": "0xa92f0cdafd15bfb2c327c5f1f94f4d92e2ff77527591750c6211c1577c18679169806d54f72b172939fc116c57f335590d02eba3fea9134f6e09838a58a5c8653edb7bb80a3f574f552bb8c8fd6f51e9517dc7ebb122fa4d7996d0017f651334"
},
{
"aggregation_bits": "0x0000000000080000000000000000000080",
"data": {
"slot": "143454",
"index": "7",
"beacon_block_root": "0x000cc126825dd678537ff9c6ae66b60913b456cc9beb5d9e2c5d2d56a375b16c",
"source": {
"epoch": "4481",
"root": "0xd932b8e92bba865716fae422423be82bdc484c86160b4f0107bb55491c0bd656"
},
"target": {
"epoch": "4482",
"root": "0xc8d2a77415d665f046bf0c2e04c96105435f21686e72456619423f9ab0b4653b"
}
},
"signature": "0x8bb4c6835a97cedf50ea3c3bab26e0cb15b74c993cf4aa5343f808ca36516aa04c401c22fe4e3bee11baf1f6993c95a90bef04fd85aa209b8edd56cb4b7afea52792453ffa68bf74d8a49635a9276c8a68572c1ade660115857cae143682c64a"
}
],
"deposits": [],
"voluntary_exits": []
}
},
"signature": "0x832893d9850bd6adfc1ecb275d6d7df52b98bfc3a9c0243a88d1ea82e8655edb2ed30bb75a6c86b9799192677dbf2ce9075e34a7041378fbefd001fe571c496ca6aa1bffb2f73decadd839148b218dc65d05bce69a03ae3a39a6a0dec3e9e61d"
}
}