Skip to main content

/eth/v2/beacon/blocks/{block_id} RPC Method

Retrieves the block details for a given block id.

Updated on
Dec 17, 2024

/eth/v2/beacon/blocks/{block_id} RPC Method

Parameters

block_id
string
REQUIRED
The state identifier. It can be a slot number, blockRoot (encoded in hexadecimal format) or tags (Supported tags include - head (canonical head in node's view), genesis, finalized or justified)

Returns

version
string
Version of the beacon chain specification.
execution_optimistic
boolean
Indicates if the execution layer data is optimistic.
finalized
boolean
Indicates if the block has been finalized.
data
object
The data object which contains the following fields:
message
object
The message object which contains the following fields:
slot
string
Slot number in which the block was proposed.
proposer_index
string
Index of the validator proposing the block.
parent_root
string
Root of the parent block.
state_root
string
Root of the state at the block.
body
object
The body object which contains the following fields:
randao_reveal
string
RANDAO reveal value for randomness.
eth1_data
object
The eth1_data object which contains the following fields:
deposit_root
string
Root of the deposit contract tree.
deposit_count
string
Count of deposits in the Eth1 chain.
block_hash
string
Hash of the Eth1 block.
graffiti
string
Arbitrary data field for proposer-specific information.
proposer_slashings
array
An empty array of proposer slashing data.
attester_slashings
array
An empty array of attester slashing data.
attestations
array
An array of attestation data.
aggregation_bits
string
Bitmap of aggregated attestation participants.
data
object
The data object which contains the following fields:
slot
string
Slot of the attested block.
index
string
Committee index of the attestation.
beacon_block_root
string
Root of the beacon block being attested.
source
object
The source checkpoint object which contains the following fields:
epoch
string
Source epoch of the attestation.
root
string
Root of the source checkpoint.
target
object
The target checkpoint object which contains the following fields:
epoch
string
Target epoch of the attestation.
root
string
Root of the target checkpoint.
signature
string
BLS signature for attestation.
deposits
array
An empty array of deposit data.
voluntary_exits
array
An empty array of voluntary exits data.
sync_aggregate
object
The sync_aggregate object which contains the following fields:
sync_committee_bits
string
Bitmap of sync committee participation.
sync_committee_signature
string
Aggregate BLS signature from sync committee.
execution_payload
object
The execution payload object which contains the following fields:
parent_hash
string
Hash of the parent execution block.
fee_recipient
string
Address of the recipient for transaction fees.
state_root
string
State root for the execution payload.
receipts_root
string
Root of receipts in the payload.
logs_bloom
string
Bloom filter for logs.
prev_randao
string
Previous RANDAO value.
block_number
string
Execution layer block number.
gas_limit
string
Maximum gas allowed in the block.
gas_used
string
Gas used by transactions in the block.
timestamp
string
Timestamp of the block.
extra_data
string
Extra data field in the block.
base_fee_per_gas
string
Base fee per gas unit.
block_hash
string
Hash of the block.
transactions
array
Array of transactions in the block.
signature
string
BLS signature of the block.
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free