Parameters
- hashstringREQUIRED
The hash (32 bytes) of the block
- transaction detail flagbooleanREQUIRED
(default: false) It returns the full transaction objects when it is true otherwise it returns only the hashes of the transactions
Returns
- objectobject | null
A block object, or null when no block was found
- baseFeePerGasstring
A string of the base fee encoded in hexadecimal format. Please note that this response field will not be included in a block requested before the EIP-1559 upgrade
- difficultystring
The integer of the difficulty for this block encoded as a hexadecimal
- extraDatastring
The “extra data” field of this block
- gasLimitstring
The maximum gas allowed in this block encoded as a hexadecimal
- gasUsedstring
The total used gas by all transactions in this block encoded as a hexadecimal
- hashstring | null
The block hash of the requested block. null if pending
- l1BatchNumberstring
The L1 batch number of the block
- l1BatchTimestampstring
The L1 batch timestamp of the block
- logsBloomstring | null
The bloom filter for the logs of the block. null if pending
- minerstring
The address of the beneficiary to whom the mining rewards were given
- mixHashstring
A string of a 256-bit hash encoded as a hexadecimal
- noncestring | null
The hash of the generated proof-of-work. 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
- sealFieldsarray
Array of seal fields for this block
- sha3Unclesstring
The SHA3 of the uncles data in the block
- sizestring
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
- totalDifficultystring
The integer of the total difficulty of the chain until this block encoded as a hexadecimal
- transactionsarray
An array of transaction objects - please see eth_getTransactionByHash for exact shape
- transactionsRootstring
The root of the transaction trie of the block
- unclesarray
An array of uncle hashes
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"hash": "0xe3ee4854da8ef31da07ea25fa42133954984604a877f439272b0e77dc260a128",6"parentHash": "0x5bc789c687c1ac704892f0c9ba4adc7d1e05932ab0bda320c21f2e2b95b9ef01",7"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",8"miner": "0x0000000000000000000000000000000000000000",9"stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",10"transactionsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",11"receiptsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",12"number": "0x8cfdc3",13"l1BatchNumber": "0x1e019",14"gasUsed": "0x99ac07",15"gasLimit": "0xffffffff",16"baseFeePerGas": "0xee6b280",17"extraData": "0x",18"logsBloom": "0x00200400a08450108028050024000000010000004100100040014000400001000020020000a1020000301210052008028007014108001800011440000034c000200081008328040084000008080840284400000018051a000000000100006a0100020000620440000b402140130229000030000030884000200401102903000044042820041000400044840200010080800610000008101108001460402000004610a000000110040005000800901000000040010002800c00102024104000002002000200801000000000140212480040800008000000220106004000827022021000800000000008408080004000001103000000800002034002240b152148",19"timestamp": "0x64bb8a4b",20"l1BatchTimestamp": "0x64bb8a3a",21"difficulty": "0x0",22"totalDifficulty": "0x0",23"sealFields": [],24"uncles": [],25"transactions": [26"0x8ef7312bcef52abe688f5a3102592b34f4b8824c513aa39ceebc68d43308a1be",27"0x9b5813e0b04d72d086da8ec8f3075e76dbcb383052c5036bc8c09a5334ee8f77",28"0x0766729a0347a7d165af59a72733ee45d208d016b9c86bdb071cec61fd8ae7cc",29"0x6843c68001781481c09f88f3558fdc9759c56de01cf489cd3d60ad48b64d5ee4",30"0x2b4a98fe9542ada578be8b007d12e7512ff1b4e60b4ed4a5bca2403a3309663e",31"0x6d27b136c21bb7db3b567610cfeaf6e6a3652f6502683860def7bdbef30bb1f4",32"0x1b1ee61a051e2e6ac386877a3496cbb1b6ea10a4216ef5d2430072cd59951d4b",33"0x37c00613a862ffa39fd5fff2910f862ba85a47c093c204a0bc2a3971321b43da",34"0xcd7c27258eb8b840c14061ac39900ad8fe86d224fcf9b796452c9a97e91d5d68",35"0x4d15b69fa5f5e7df6e47171acba046b7c9235806319d1e243da17b2aa99aa9a0",36"0x936860868ccf64bee92511887644e1df45b95901277ddd5098b24a96bd9aff72",37"0x8663dfc0fe09250e66ec4d4a151ea6b80d1ffe2604d15c7d54291bd142c5a725",38"0xc769261c0649b03b0ee8153441550181d0cebd818aeac49004de89ad5bcfd416",39"0x7fe04bc6d402fcea74a0608584606adba66840b80e4b43e78bb2a581e53c5cec",40"0x55077771fba625479959d0a797ac0480787b0661b62f5347add9850bef0fbd9b",41"0xd96e3eba5b120cbf521e6e2e8abb227b529f25c840cba9218a790e2ad5dc3ca7",42"0x0f8341d47176f98b60e82c0f01dc967c395ade15d515c25c196221a1daefc79e",43"0x61db6506bf2d26eafc84b6da0d11b86edb5662beec033293ba054444e9f83303",44"0x90e6d3da13b5c20eefd584c4237ae2893d283af9464176b4c336a072af59dc16"45],46"size": "0x0",47"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",48"nonce": "0x0000000000000000"49}50}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"hash": "0xe3ee4854da8ef31da07ea25fa42133954984604a877f439272b0e77dc260a128",6"parentHash": "0x5bc789c687c1ac704892f0c9ba4adc7d1e05932ab0bda320c21f2e2b95b9ef01",7"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",8"miner": "0x0000000000000000000000000000000000000000",9"stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",10"transactionsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",11"receiptsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",12"number": "0x8cfdc3",13"l1BatchNumber": "0x1e019",14"gasUsed": "0x99ac07",15"gasLimit": "0xffffffff",16"baseFeePerGas": "0xee6b280",17"extraData": "0x",18"logsBloom": "0x00200400a08450108028050024000000010000004100100040014000400001000020020000a1020000301210052008028007014108001800011440000034c000200081008328040084000008080840284400000018051a000000000100006a0100020000620440000b402140130229000030000030884000200401102903000044042820041000400044840200010080800610000008101108001460402000004610a000000110040005000800901000000040010002800c00102024104000002002000200801000000000140212480040800008000000220106004000827022021000800000000008408080004000001103000000800002034002240b152148",19"timestamp": "0x64bb8a4b",20"l1BatchTimestamp": "0x64bb8a3a",21"difficulty": "0x0",22"totalDifficulty": "0x0",23"sealFields": [],24"uncles": [],25"transactions": [26"0x8ef7312bcef52abe688f5a3102592b34f4b8824c513aa39ceebc68d43308a1be",27"0x9b5813e0b04d72d086da8ec8f3075e76dbcb383052c5036bc8c09a5334ee8f77",28"0x0766729a0347a7d165af59a72733ee45d208d016b9c86bdb071cec61fd8ae7cc",29"0x6843c68001781481c09f88f3558fdc9759c56de01cf489cd3d60ad48b64d5ee4",30"0x2b4a98fe9542ada578be8b007d12e7512ff1b4e60b4ed4a5bca2403a3309663e",31"0x6d27b136c21bb7db3b567610cfeaf6e6a3652f6502683860def7bdbef30bb1f4",32"0x1b1ee61a051e2e6ac386877a3496cbb1b6ea10a4216ef5d2430072cd59951d4b",33"0x37c00613a862ffa39fd5fff2910f862ba85a47c093c204a0bc2a3971321b43da",34"0xcd7c27258eb8b840c14061ac39900ad8fe86d224fcf9b796452c9a97e91d5d68",35"0x4d15b69fa5f5e7df6e47171acba046b7c9235806319d1e243da17b2aa99aa9a0",36"0x936860868ccf64bee92511887644e1df45b95901277ddd5098b24a96bd9aff72",37"0x8663dfc0fe09250e66ec4d4a151ea6b80d1ffe2604d15c7d54291bd142c5a725",38"0xc769261c0649b03b0ee8153441550181d0cebd818aeac49004de89ad5bcfd416",39"0x7fe04bc6d402fcea74a0608584606adba66840b80e4b43e78bb2a581e53c5cec",40"0x55077771fba625479959d0a797ac0480787b0661b62f5347add9850bef0fbd9b",41"0xd96e3eba5b120cbf521e6e2e8abb227b529f25c840cba9218a790e2ad5dc3ca7",42"0x0f8341d47176f98b60e82c0f01dc967c395ade15d515c25c196221a1daefc79e",43"0x61db6506bf2d26eafc84b6da0d11b86edb5662beec033293ba054444e9f83303",44"0x90e6d3da13b5c20eefd584c4237ae2893d283af9464176b4c336a072af59dc16"45],46"size": "0x0",47"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",48"nonce": "0x0000000000000000"49}50}