eth_getBlockByNumber
eth_getBlockByNumber
Returns information of the block matching the given block number.
Request
This endpoint expects an object.
block
Block number or tag to look up.
fullTransactions
Set to true to return full transaction objects instead of transaction hashes.
Response
Block details, or null when the block is not found.
number
Hex-encoded integer quantity.
hash
32-byte block hash.
parentHash
32-byte block hash.
nonce
Hex-encoded byte data.
sha3Uncles
Hex-encoded byte data.
logsBloom
Hex-encoded byte data.
transactionsRoot
Hex-encoded byte data.
stateRoot
Hex-encoded byte data.
receiptsRoot
Hex-encoded byte data.
miner
20-byte EVM address.
difficulty
Hex-encoded integer quantity.
extraData
Hex-encoded byte data.
size
Hex-encoded integer quantity.
gasLimit
Hex-encoded integer quantity.
gasUsed
Hex-encoded integer quantity.
timestamp
Hex-encoded integer quantity.
transactions
uncles
totalDifficulty
Hex-encoded integer quantity.
baseFeePerGas
Hex-encoded integer quantity.