Parameters
- blockNumber/tagstringREQUIRED
The block number in hexadecimal format or the string latest or earliest
Returns
- objectobject | null
A block object, or null when no block was found:
- blockScorestring
(Optional) The score of the block, represented in hexadecimal format
- extraDatastring
The “extra data” field of this block
- gasUsedstring
The total used gas by all transactions in this block encoded as a hexadecimal
- governanceDatastring
Data related to governance, represented as a hexadecimal string
- hashstring | null
The block hash of the requested block. null if pending
- logsBloomstring | null
The bloom filter for the logs of the block. null if pending
- numberstring | null
The block number of the requested block encoded as a hexadecimal. null if pending
- parentHashstring
The hash of the parent block
- receiptsRootstring
The root of the receipts trie of the block
- rewardstring
The address of the account that received the block reward
- sizestring
(Optional) The size of this block in bytes as an Integer value encoded as hexadecimal
- stateRootstring
The root of the final state trie of the block
- timestampstring
The unix timestamp for when the block was collated
- timestampFoSstring
An additional timestamp field, represented in hexadecimal format
- totalBlockScorestring
(Optional) The total score of the blockchain up to and including this block, represented in hexadecimal format
- transactionsarray
(Optional) An array of transaction objects
- transactionsRootstring
The root of the transaction trie of the block
- voteDatastring
The data related to votes, represented as a hexadecimal string