Skip to main content

eth_getBlockByHash RPC Method

Returns information of the block matching the given block hash.

Updated on
Jan 16, 2026

Parameters

hash
string
REQUIRED

The hash (32 bytes) of the block

transaction detail flag
boolean
REQUIRED

(default: false) It returns the full transaction objects when it is true otherwise it returns only the hashes of the transactions

Returns

object
object

The block object containing metadata, state roots, and transaction references. Null if the block is not found or still pending

baseFeePerGas
string

The base fee per gas set by the network for this block encoded as a hexadecimal string

blobGasUsed
string

The total blob gas used by all blob-carrying transactions in this block encoded as a hexadecimal string

difficulty
string

The block difficulty as a hexadecimal string, 0x0 on proof-of-stake networks

excessBlobGas
string

The excess blob gas carried over from the previous block encoded as a hexadecimal string

extraData
string

The extra data field set by the block proposer encoded as a hex string

gasLimit
string

The maximum gas allowed in this block encoded as a hexadecimal string

gasUsed
string

The total gas used by all transactions in this block encoded as a hexadecimal string

hash
string

The hash of the block, null if the block is pending

logsBloom
string

The bloom filter for logs generated in this block, null if pending

miner
string

The address of the block proposer or beneficiary of block rewards

mixHash
string

The 256-bit hash used for validating proof-of-work, typically zeroed on proof-of-stake networks

nonce
string

The block nonce value used in proof-of-work, zeroed or null on proof-of-stake networks

number
string

The block number encoded as a hexadecimal string, null if pending

parentBeaconBlockRoot
string

The root of the corresponding beacon block that this block is built on

parentHash
string

The hash of the parent block

receiptsRoot
string

The root hash of the receipts trie of this block

requestsHash
string

The hash of requests included in this block, used by some L2 or EIP-4844 implementations

sha3Uncles
string

The SHA3 of the uncles list in this block

size
string

The block size in bytes encoded as a hexadecimal string

stateRoot
string

The root hash of the final state trie after all transactions in this block

timestamp
string

The unix timestamp when the block was produced encoded as a hexadecimal string

transactions
array

The array of transaction hashes included in this block

transactionsRoot
string

The root hash of the transaction trie of this block

uncles
array

The array of uncle block hashes referenced by this block

withdrawals
array

The array of withdrawal operations included in this block, applicable to post-Shanghai blocks

index
string

Withdrawal index encoded as a hexadecimal string

validatorIndex
string

Validator index encoded as a hexadecimal string

address
string

Recipient address for the withdrawal

amount
string

Amount withdrawn in gwei encoded as a hexadecimal string

withdrawalsRoot
string

The root hash of the withdrawals trie of this block

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"hash": "0x1f697fc977ffd6d2eced4cd444ad76376b49a6e546e3e1207ec236ba9e4755ba",
6
"parentHash": "0x5e1a3b652d36e0cc00a3afacc69dcf529b83f05687f09c143cb565c50d92e4c8",
7
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
8
"miner": "0xa693cc18aa09d33dd388013b7a02e5ff863b8760",
9
"stateRoot": "0xf55c5972a63b9bd053a1468c8f20a12099bcef97e92cbc73083408b23c1d2658",
10
"transactionsRoot": "0x0fa70d3cc00278e8a2e8883055edd3ea5f0d88f33a757b621dc59ad6f51b7543",
11
"receiptsRoot": "0x239353f97a12e9e57e4886c0f7b12c753073c7455d8f388043c4a03e2180771f",
12
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
13
"difficulty": "0x0",
14
"number": "0x6addc6",
15
"gasLimit": "0x2255100",
16
"gasUsed": "0x141c24",
17
"timestamp": "0x68f7a507",
18
"extraData": "0x",
19
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
20
"nonce": "0x0000000000000000",
21
"baseFeePerGas": "0x7",
22
"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
23
"blobGasUsed": "0x0",
24
"excessBlobGas": "0x0",
25
"parentBeaconBlockRoot": "0x5e1a3b652d36e0cc00a3afacc69dcf529b83f05687f09c143cb565c50d92e4c8",
26
"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
27
"size": "0x1b50",
28
"uncles": [],
29
"transactions": [
30
"0xd1d0184ad18a98b5b64b82201df64d9a1e3a7ed20b9554c9004e28a6a8935a1a",
31
"0x45ff3457616061741d4ff653ba08ec44e9ff09ff0143b1e8ee85ce7040d6cd44",
32
"0xba19f9573c345c3a73f6689c5d19a2d79ab5239a92794d8884dfaa4f61dc6476",
33
"0xd49c6255bce0e68ea639c4a354ec7161d3924c9c9ba14a00e774909e6a213fa8",
34
"0xddc22589bf19cf560c61d4286e5735ea50c139f5b10fa383d683c5ba10a269ef",
35
"0xde429c3b8d08b446ab6a9d58e60910b2b3e0e589b239392cb1be0027ae025329",
36
"0xb2c7a0a2ba4c32dd1374071ae11a66cb3e2988152512488d73bd8fa4230c8a1c",
37
"0x8a96859b8820772ed8f7685619001bf742eff4748782b1c96998d8c97db32661",
38
"0xdd8a9aed20cf0cf5297c18c57cbd1c533a867cce3c5eac42eef073f1924a9fc0",
39
"0xcec952abc3f1815519002129fa90f5145efbc31d3fe81e858c13bba3cc152349",
40
"0xa87aee27a6e169847deb16c4d212c6d148d09a7c1abb4d0f01ba7fe401bc452e",
41
"0x9c61301d300e428b331dbbba5e9472f4a810592b10d56235201ec52be81108cb",
42
"0xbaf9d683947eb8c92fbc6feac7f9c994a46928b030fb981fa9e7ab7595f0ace3",
43
"0x8deb15627f2c7fec5183591e5979c56312888c48839c36493fdb2a7761389280",
44
"0x0fd51a0c783729035dfe22df101692deefbf12ccbf6066c9f7e4862606abfe52",
45
"0x2a453f84e2b2abba5dec287fac4152d06121b3a43ec2ef99b27ec0fe07e901be",
46
"0x59a16670c15deafd478db9e7f5457719a3dfcc57911f25342e9523d84c6ee3d2",
47
"0x857d92de8a352b04b19183727390554ed9c7fcfbc84196f6f0727ac388b3face",
48
"0x4ed64167d8eb1455537b839c5b672110c2db91e210f7b0ee131127a986b55968",
49
"0xf01850e96200e1b6263d4c6808ecee7d2df71fde2cd6998c505a36ed05042701",
50
"0xd74fa5f36eb6769026c5598bf72732155b941583bcc61be9ab1e4bff87474304",
51
"0xeba033f1a3079f7121eb06cfe7610fedc6dbdfdf70412e668c9a694d07dd09d0",
52
"0x8295f36457b3b4d972179c9a8164ae69ff01cc06e8c10fbf1443ae64c7f25ee7",
53
"0xd17b9db532f4ddbe68b56ec456cc60a44b8ffb4cbe7c33bd533962e9d6a00c05",
54
"0x472213f2dc4fa79f8ad4fd6e7ecc725a2ac9e42841066108e1d94463d53d17ac",
55
"0x37db33bcd54be8e64ede4ee1530f276f0c40d966dd5131a2112fa0b6cf44a34e",
56
"0x9bbee9fe4a25e4d30a51e523e29b05fa10356fc31cacf6c6edfdb1eca0e90350",
57
"0x4fa558de147b36b713536dd26309cb1c2395342dea4d68114ffd8b867cfc8a2a",
58
"0xd0403a62a94eeaf948aa507d59e55d4ed70835bfc65f2555f889006fc3ffa687",
59
"0xf9b05fe45f0d72e1f10e676c9dd55ba2d900a11ab4effeaabf9e124608ed395a",
60
"0x86e685b16aec767dca5ffda4a6c963771219fd73e3bf06ee535f719fd27c21c1",
61
"0xdabf4bcb4e626a77477fd529e208387d08cd2bc2ed8035af496e811af7772afd",
62
"0xb1c0469757d51caa9fc901b19532d06f060cd0d2d0fab11281f3d300148507b1",
63
"0x000441e1f2515f359ed48056c242160365eb1470cc29b6f73874f19a4d7aa684",
64
"0x2ddff687565d4ebae4c69af4280d0f8cb4a049d579152b0e01805752cb26da41",
65
"0x570fd717562e07398b93da97445e33544db88d672c468aa04f910bb06ba7e865",
66
"0x0eb1e5ff0fbd642987900b031fa719e80eb1e396b099a8232d9423f3f059f8af",
67
"0xd9eccc42660760ec340347aafee6fafc8ac28c5fa24229ff5d478f4a5a355721",
68
"0xf95b83e01b0aca58655e97be3db3a7d6a6241ab6a50d857e77c60adcf82a86cf",
69
"0x238ae8e4ba32d7a94eabbe869eebfbe0c40a768e9b06a804d3151a95b5b4170f",
70
"0x9e77d27e64b058f94a75490471e6d703afb07b2414eafe47f4f81bb2c4e2f1cd",
71
"0x21aa64d412a898708d93dd5a964f36db032bcb8a0c536faa2ffe0312c7c55ee4",
72
"0x711f3d7106d029280bdd6e34a7c059c37a5e99b9e68d5a26587ea5bbf00a5278",
73
"0x60bae56fa0bf01597f8ecbbc720eff2e28b7e3ee923d5f5ac128b230d327b2fc",
74
"0xe5389bfaea0c61b4a01e3c574a4ad22e7da31b43e83d227978472493190a78cd",
75
"0xf496de913e17cb1ca7afce867ee45cf5710da2b47e0e42d2784be63429c80e17",
76
"0x5ba1527411e4672310fcb268498c5b37e371021050d3954401fa4c8c565f2a48",
77
"0x53d44763cd3244ac02969c4cc2b67804da4125140123dd872035baa0bd7b9235",
78
"0x44a7e4cae7cf624c1c8babe11f8ce37039f967f5cef7c1d5264eeb6ece8a4d96",
79
"0x59a6e245e5ecee3dc75aa0d4a5a31f7ca01da940730aa2cbd15962671ecb630d",
80
"0x5d350f7652d25c6c2df2fd26e12d141abcd1ec1d3b1c04caac3613ea8b254eca",
81
"0x2938acde4380bb4f4254f86d116de1848f02c2c8270e4e25ed48273d52ecbd05",
82
"0x6f359bf400bcf39270d2f854a623179fc9dafd06955e5d82e3aa6affd23c61ee",
83
"0x99aba8d56f2615285f28803f481e7dd5c3bf4dd5f626227e1de0b78e6c244072"
84
],
85
"withdrawals": []
86
}
87
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"hash": "0x1f697fc977ffd6d2eced4cd444ad76376b49a6e546e3e1207ec236ba9e4755ba",
6
"parentHash": "0x5e1a3b652d36e0cc00a3afacc69dcf529b83f05687f09c143cb565c50d92e4c8",
7
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
8
"miner": "0xa693cc18aa09d33dd388013b7a02e5ff863b8760",
9
"stateRoot": "0xf55c5972a63b9bd053a1468c8f20a12099bcef97e92cbc73083408b23c1d2658",
10
"transactionsRoot": "0x0fa70d3cc00278e8a2e8883055edd3ea5f0d88f33a757b621dc59ad6f51b7543",
11
"receiptsRoot": "0x239353f97a12e9e57e4886c0f7b12c753073c7455d8f388043c4a03e2180771f",
12
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
13
"difficulty": "0x0",
14
"number": "0x6addc6",
15
"gasLimit": "0x2255100",
16
"gasUsed": "0x141c24",
17
"timestamp": "0x68f7a507",
18
"extraData": "0x",
19
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
20
"nonce": "0x0000000000000000",
21
"baseFeePerGas": "0x7",
22
"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
23
"blobGasUsed": "0x0",
24
"excessBlobGas": "0x0",
25
"parentBeaconBlockRoot": "0x5e1a3b652d36e0cc00a3afacc69dcf529b83f05687f09c143cb565c50d92e4c8",
26
"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
27
"size": "0x1b50",
28
"uncles": [],
29
"transactions": [
30
"0xd1d0184ad18a98b5b64b82201df64d9a1e3a7ed20b9554c9004e28a6a8935a1a",
31
"0x45ff3457616061741d4ff653ba08ec44e9ff09ff0143b1e8ee85ce7040d6cd44",
32
"0xba19f9573c345c3a73f6689c5d19a2d79ab5239a92794d8884dfaa4f61dc6476",
33
"0xd49c6255bce0e68ea639c4a354ec7161d3924c9c9ba14a00e774909e6a213fa8",
34
"0xddc22589bf19cf560c61d4286e5735ea50c139f5b10fa383d683c5ba10a269ef",
35
"0xde429c3b8d08b446ab6a9d58e60910b2b3e0e589b239392cb1be0027ae025329",
36
"0xb2c7a0a2ba4c32dd1374071ae11a66cb3e2988152512488d73bd8fa4230c8a1c",
37
"0x8a96859b8820772ed8f7685619001bf742eff4748782b1c96998d8c97db32661",
38
"0xdd8a9aed20cf0cf5297c18c57cbd1c533a867cce3c5eac42eef073f1924a9fc0",
39
"0xcec952abc3f1815519002129fa90f5145efbc31d3fe81e858c13bba3cc152349",
40
"0xa87aee27a6e169847deb16c4d212c6d148d09a7c1abb4d0f01ba7fe401bc452e",
41
"0x9c61301d300e428b331dbbba5e9472f4a810592b10d56235201ec52be81108cb",
42
"0xbaf9d683947eb8c92fbc6feac7f9c994a46928b030fb981fa9e7ab7595f0ace3",
43
"0x8deb15627f2c7fec5183591e5979c56312888c48839c36493fdb2a7761389280",
44
"0x0fd51a0c783729035dfe22df101692deefbf12ccbf6066c9f7e4862606abfe52",
45
"0x2a453f84e2b2abba5dec287fac4152d06121b3a43ec2ef99b27ec0fe07e901be",
46
"0x59a16670c15deafd478db9e7f5457719a3dfcc57911f25342e9523d84c6ee3d2",
47
"0x857d92de8a352b04b19183727390554ed9c7fcfbc84196f6f0727ac388b3face",
48
"0x4ed64167d8eb1455537b839c5b672110c2db91e210f7b0ee131127a986b55968",
49
"0xf01850e96200e1b6263d4c6808ecee7d2df71fde2cd6998c505a36ed05042701",
50
"0xd74fa5f36eb6769026c5598bf72732155b941583bcc61be9ab1e4bff87474304",
51
"0xeba033f1a3079f7121eb06cfe7610fedc6dbdfdf70412e668c9a694d07dd09d0",
52
"0x8295f36457b3b4d972179c9a8164ae69ff01cc06e8c10fbf1443ae64c7f25ee7",
53
"0xd17b9db532f4ddbe68b56ec456cc60a44b8ffb4cbe7c33bd533962e9d6a00c05",
54
"0x472213f2dc4fa79f8ad4fd6e7ecc725a2ac9e42841066108e1d94463d53d17ac",
55
"0x37db33bcd54be8e64ede4ee1530f276f0c40d966dd5131a2112fa0b6cf44a34e",
56
"0x9bbee9fe4a25e4d30a51e523e29b05fa10356fc31cacf6c6edfdb1eca0e90350",
57
"0x4fa558de147b36b713536dd26309cb1c2395342dea4d68114ffd8b867cfc8a2a",
58
"0xd0403a62a94eeaf948aa507d59e55d4ed70835bfc65f2555f889006fc3ffa687",
59
"0xf9b05fe45f0d72e1f10e676c9dd55ba2d900a11ab4effeaabf9e124608ed395a",
60
"0x86e685b16aec767dca5ffda4a6c963771219fd73e3bf06ee535f719fd27c21c1",
61
"0xdabf4bcb4e626a77477fd529e208387d08cd2bc2ed8035af496e811af7772afd",
62
"0xb1c0469757d51caa9fc901b19532d06f060cd0d2d0fab11281f3d300148507b1",
63
"0x000441e1f2515f359ed48056c242160365eb1470cc29b6f73874f19a4d7aa684",
64
"0x2ddff687565d4ebae4c69af4280d0f8cb4a049d579152b0e01805752cb26da41",
65
"0x570fd717562e07398b93da97445e33544db88d672c468aa04f910bb06ba7e865",
66
"0x0eb1e5ff0fbd642987900b031fa719e80eb1e396b099a8232d9423f3f059f8af",
67
"0xd9eccc42660760ec340347aafee6fafc8ac28c5fa24229ff5d478f4a5a355721",
68
"0xf95b83e01b0aca58655e97be3db3a7d6a6241ab6a50d857e77c60adcf82a86cf",
69
"0x238ae8e4ba32d7a94eabbe869eebfbe0c40a768e9b06a804d3151a95b5b4170f",
70
"0x9e77d27e64b058f94a75490471e6d703afb07b2414eafe47f4f81bb2c4e2f1cd",
71
"0x21aa64d412a898708d93dd5a964f36db032bcb8a0c536faa2ffe0312c7c55ee4",
72
"0x711f3d7106d029280bdd6e34a7c059c37a5e99b9e68d5a26587ea5bbf00a5278",
73
"0x60bae56fa0bf01597f8ecbbc720eff2e28b7e3ee923d5f5ac128b230d327b2fc",
74
"0xe5389bfaea0c61b4a01e3c574a4ad22e7da31b43e83d227978472493190a78cd",
75
"0xf496de913e17cb1ca7afce867ee45cf5710da2b47e0e42d2784be63429c80e17",
76
"0x5ba1527411e4672310fcb268498c5b37e371021050d3954401fa4c8c565f2a48",
77
"0x53d44763cd3244ac02969c4cc2b67804da4125140123dd872035baa0bd7b9235",
78
"0x44a7e4cae7cf624c1c8babe11f8ce37039f967f5cef7c1d5264eeb6ece8a4d96",
79
"0x59a6e245e5ecee3dc75aa0d4a5a31f7ca01da940730aa2cbd15962671ecb630d",
80
"0x5d350f7652d25c6c2df2fd26e12d141abcd1ec1d3b1c04caac3613ea8b254eca",
81
"0x2938acde4380bb4f4254f86d116de1848f02c2c8270e4e25ed48273d52ecbd05",
82
"0x6f359bf400bcf39270d2f854a623179fc9dafd06955e5d82e3aa6affd23c61ee",
83
"0x99aba8d56f2615285f28803f481e7dd5c3bf4dd5f626227e1de0b78e6c244072"
84
],
85
"withdrawals": []
86
}
87
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free