Skip to content

Block ​

A block as eth_getBlockByNumber and eth_getBlockByHash return it.

Fields ​

FieldTypeMeaning
hash32-byte hashThe hash of the block header.
parentHash32-byte hashThe hash of the previous block.
numberhex numberThe block number.
timestamphex number, secondsThe Unix time of the block.
mineraddressThe fee recipient of the block.
gasLimithex numberThe most gas that the block can use.
gasUsedhex numberThe gas that the transactions of the block used.
baseFeePerGashex number, weiThe EIP-1559 base fee of the block.
stateRoot32-byte hashThe root of the state trie after the block.
transactionsRoot32-byte hashThe root of the transaction trie.
receiptsRoot32-byte hashThe root of the receipt trie.
logsBloom256-byte hex dataThe bloom filter of all logs in the block.
extraDatahex dataFree data that the block builder set.
mixHash32-byte hashSince the merge: the prevRandao value of the block.
difficultyhex number0x0 since the merge.
nonce8-byte hex dataZero since the merge.
sha3Uncles32-byte hashThe hash of the empty uncle list since the merge.
uncleslistAlways empty.
sizehex number, bytesThe size of the RLP-encoded block.
transactionslistThe transaction hashes. With true as the second parameter, the full Transaction objects.
withdrawalslist ofThe validator withdrawals (since Shanghai). amount is in gwei.
withdrawalsRoot32-byte hashThe root of the withdrawal trie (since Shanghai).
blobGasUsedhex numberThe blob gas of the block (since Cancun).
excessBlobGashex numberThe excess blob gas (since Cancun). It sets the blob base fee.
parentBeaconBlockRoot32-byte hashThe root of the parent beacon block (since Cancun).
requestsHash32-byte hashThe hash of the execution layer requests (since Prague).

Used by ​

eth_getBlockByHash, eth_getBlockByNumber, eth_getHeaderByHash, eth_getHeaderByNumber, eth_simulateV1.