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
A block object, or null when no block was found
The block hash of the requested block. null if pending
The hash of the parent block
The SHA3 of the uncles data in the block
The address of the beneficiary to whom the mining rewards were given
The root of the final state trie of the block
The root of the transaction trie of the block
The root of the receipts trie of the block
The bloom filter for the logs of the block. null if pending
The integer of the difficulty for this block encoded as a hexadecimal
The block number of the requested block encoded as a hexadecimal. null if pending
The maximum gas allowed in this block encoded as a hexadecimal
The total used gas by all transactions in this block encoded as a hexadecimal
The unix timestamp for when the block was collated
The extra data field of this block
A string of a 256-bit hash encoded as a hexadecimal
The hash of the generated proof-of-work. null if pending
The base fee per gas in the block encoded in hexadecimal format (EIP-1559)
The root of the withdrawals trie of the block (EIP-4895)
The total amount of blob gas consumed by transactions in the block encoded as hexadecimal (EIP-4844)
The running total of blob gas consumed in excess of the target encoded as hexadecimal (EIP-4844)
The root of the parent beacon block (EIP-4788)
The size of this block in bytes as an Integer value encoded as hexadecimal
An array of uncle hashes
An array of transaction hashes or transaction objects depending on the transaction detail flag
An array of withdrawal objects (EIP-4895)
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"hash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",6"parentHash": "0xe9e6707564cd49fe306f074e0b6e0c1354265ba69c565002daaa98c69c0af790",7"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",8"miner": "0x30dd0fb2d8376b398b81b21e08f62c7cc9dea4d8",9"stateRoot": "0x9356919fb3142eb078f2222d7d0245074d909ee9e216201891321d987afe204f",10"transactionsRoot": "0x3e4c448ad8c1f5ecf06b3ab87c03b24d567cd7323efe990c1fbf31e68f100ffc",11"receiptsRoot": "0x7af8a23319b614e0905b542b826c2921da7af5ca058d129410af724da6f84c75",12"logsBloom": "0x00001000000002000000000000000000002000000040000000000000000000008000000000000000000000000100000000100000000401800000000000000010200010000000000000000008000000000800000000000000000000000000000001008000000000000004000200000000000000000000000000000012000000000000800400008000000000000000000400000080020200000000080000000000000000000002000000000000008000000000802000100000000000080002000000000002004000000000000000000000000000001000000000000000000000000001000000000000000000000000000000020000000000000000000000000000",13"difficulty": "0x6a1fab938d7768917b9729890880b163f23421402e57b9b72ace0fb2350aec6f",14"number": "0x100000",15"gasLimit": "0x3b9aca00",16"gasUsed": "0x292c0",17"timestamp": "0x6a0fdd04",18"extraData": "0x",19"mixHash": "0x6a1fab938d7768917b9729890880b163f23421402e57b9b72ace0fb2350aec6f",20"nonce": "0x0000000000000000",21"baseFeePerGas": "0xba43b7400",22"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",23"blobGasUsed": "0x0",24"excessBlobGas": "0x0",25"parentBeaconBlockRoot": "0xb6d28123f3b732f2892f2000bfc1c98702d08593a8d16a8808212ee896285e8a",26"size": "0x3db",27"uncles": [],28"transactions": [29"0x091bd81bdfa55c663c48be7b4412d10f6533acbccac7beb43cdd7a8d3c945afc",30"0xb0b276823f1c86213ea8f0c04471cd126392d4c9c4a536940c2bf4f3764c628f"31],32"withdrawals": []33}34}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"hash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",6"parentHash": "0xe9e6707564cd49fe306f074e0b6e0c1354265ba69c565002daaa98c69c0af790",7"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",8"miner": "0x30dd0fb2d8376b398b81b21e08f62c7cc9dea4d8",9"stateRoot": "0x9356919fb3142eb078f2222d7d0245074d909ee9e216201891321d987afe204f",10"transactionsRoot": "0x3e4c448ad8c1f5ecf06b3ab87c03b24d567cd7323efe990c1fbf31e68f100ffc",11"receiptsRoot": "0x7af8a23319b614e0905b542b826c2921da7af5ca058d129410af724da6f84c75",12"logsBloom": "0x00001000000002000000000000000000002000000040000000000000000000008000000000000000000000000100000000100000000401800000000000000010200010000000000000000008000000000800000000000000000000000000000001008000000000000004000200000000000000000000000000000012000000000000800400008000000000000000000400000080020200000000080000000000000000000002000000000000008000000000802000100000000000080002000000000002004000000000000000000000000000001000000000000000000000000001000000000000000000000000000000020000000000000000000000000000",13"difficulty": "0x6a1fab938d7768917b9729890880b163f23421402e57b9b72ace0fb2350aec6f",14"number": "0x100000",15"gasLimit": "0x3b9aca00",16"gasUsed": "0x292c0",17"timestamp": "0x6a0fdd04",18"extraData": "0x",19"mixHash": "0x6a1fab938d7768917b9729890880b163f23421402e57b9b72ace0fb2350aec6f",20"nonce": "0x0000000000000000",21"baseFeePerGas": "0xba43b7400",22"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",23"blobGasUsed": "0x0",24"excessBlobGas": "0x0",25"parentBeaconBlockRoot": "0xb6d28123f3b732f2892f2000bfc1c98702d08593a8d16a8808212ee896285e8a",26"size": "0x3db",27"uncles": [],28"transactions": [29"0x091bd81bdfa55c663c48be7b4412d10f6533acbccac7beb43cdd7a8d3c945afc",30"0xb0b276823f1c86213ea8f0c04471cd126392d4c9c4a536940c2bf4f3764c628f"31],32"withdrawals": []33}34}