Parameters
The hash (32 bytes) of the block
(default: false) It returns the full transaction objects when it is true otherwise it returns only the hashes of the transactions
Returns
The block object containing metadata, state roots, and transaction references. Null if the block is not found or still pending
The base fee per gas for this block encoded as a hexadecimal string
The total blob gas used by transactions in this block encoded as a hexadecimal string
The block difficulty as a hexadecimal string (0x0 on Proof-of-Authority networks)
The excess blob gas after this block encoded as a hexadecimal string
Arbitrary extra data set by the block proposer encoded as a hex string
The maximum gas allowed in this block encoded as a hexadecimal string
The total gas used by all transactions in this block encoded as a hexadecimal string
The hash of the block, null if the block is pending
The bloom filter for logs generated in this block, null if pending
The address of the block proposer or beneficiary
Legacy 256-bit hash used for PoW; typically 0x…00 on PoA networks
Legacy PoW nonce; typically 0x0000000000000000 on PoA networks
The block number encoded as a hexadecimal string, null if pending
The parent beacon block root encoded as a hexadecimal string
The hash of the parent block
The root hash of the receipts trie of this block
The requests hash for this block encoded as a hexadecimal string
The Keccak-256 hash of the uncles list in this block
The block size in bytes encoded as a hexadecimal string
The root hash of the final state trie after processing this block
The Unix timestamp when the block was produced encoded as a hexadecimal string
(Optional) The total difficulty of the chain up to and including this block encoded as a hexadecimal string (0x0 on PoA networks)
Array of transaction hashes (32-byte hex strings) included in this block
The root hash of the transaction trie of this block
Array of uncle block hashes referenced by this block (often empty on PoA networks)
Array of withdrawal objects for this block
The root hash of withdrawals in this block encoded as a hexadecimal string
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"baseFeePerGas": "0x2e90edd000",6"difficulty": "0x0",7"extraData": "0x",8"gasLimit": "0x1406f40",9"gasUsed": "0x11f6a",10"hash": "0x652cc2948e62c88bc8ae0e4bf3a43ac998b6d4187ec7f4ac77f151cd5cd47568",11"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",12"miner": "0x475818d36d75207b5ff874c8edc5a474d44fe52c",13"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",14"nonce": "0x0000000000000000",15"number": "0x2b4296",16"parentHash": "0x7f57c72a8ef43a4e0d644cf9995086273858bd56c9f744e802dfcecdf383640f",17"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",18"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",19"size": "0xd8f",20"stateRoot": "0x46ca2622ae1b18ccb327fad789b187c96f6d7637095f30d167e0e9367cbf7082",21"timestamp": "0x68ff6077",22"totalDifficulty": "0x0",23"transactions": [24"0x00aa1a7cdb100fdaf8af6c725bf168c0eec7eb98c515f13258c84cba25cc6b92"25],26"transactionsRoot": "0x29fc797a08392a4f4d5da5438d4ec7f48a8ec52a5eef6e0d504fe9423e8e9132",27"uncles": [],28"blobGasUsed": "0x0",29"excessBlobGas": "0x0",30"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",31"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",32"withdrawals": [],33"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"34}35}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"baseFeePerGas": "0x2e90edd000",6"difficulty": "0x0",7"extraData": "0x",8"gasLimit": "0x1406f40",9"gasUsed": "0x11f6a",10"hash": "0x652cc2948e62c88bc8ae0e4bf3a43ac998b6d4187ec7f4ac77f151cd5cd47568",11"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",12"miner": "0x475818d36d75207b5ff874c8edc5a474d44fe52c",13"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",14"nonce": "0x0000000000000000",15"number": "0x2b4296",16"parentHash": "0x7f57c72a8ef43a4e0d644cf9995086273858bd56c9f744e802dfcecdf383640f",17"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",18"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",19"size": "0xd8f",20"stateRoot": "0x46ca2622ae1b18ccb327fad789b187c96f6d7637095f30d167e0e9367cbf7082",21"timestamp": "0x68ff6077",22"totalDifficulty": "0x0",23"transactions": [24"0x00aa1a7cdb100fdaf8af6c725bf168c0eec7eb98c515f13258c84cba25cc6b92"25],26"transactionsRoot": "0x29fc797a08392a4f4d5da5438d4ec7f48a8ec52a5eef6e0d504fe9423e8e9132",27"uncles": [],28"blobGasUsed": "0x0",29"excessBlobGas": "0x0",30"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",31"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",32"withdrawals": [],33"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"34}35}