Parameters
- hashstringREQUIRED
The hash (32 bytes) of the block
- transaction detail flagbooleanREQUIRED
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:
- authorstring
(Optional) The address of the entity (validator or miner) that produced or proposed the block
- baseFeePerGasstring
The minimum fee per unit of gas required for transactions to be included in the block, expressed in hexadecimal format
- 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
- 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
- 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
- transactionsRootstring
The root of the transaction trie of the block
- unclesarray
An array of uncle hashes
1{2"jsonrpc": "2.0",3"result": {4"difficulty": "0x1",5"extraData": "0xd883010c02846765746888676f312e32302e37856c696e7578000000000000007fa74bc9af3eb3d066977f9e72536b72112acbefe527497f5acd88bb9e35930859f5e3e7b165889d0af630c049a879e78639507c163c13eb2713f15fef73808001",6"gasLimit": "0x1c03a180",7"gasUsed": "0x5208",8"hash": "0x9b1ebd3426e7a59a32d39ff106fb75e71f79201b8fcdaf3c656efb914b5851ab",9"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",10"miner": "0x0000000000000000000000000000000000000000",11"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",12"nonce": "0x0000000000000000",13"number": "0xe474f6",14"parentHash": "0x7ed3543c7153f1af23664e54362ff4ea4b610b29000fdfbbbd79accdfb8120c8",15"receiptsRoot": "0xf78dfb743fbd92ade140711c8bbc542b5e307f0ab7984eff35d751969fe57efa",16"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",17"size": "0x2da",18"stateRoot": "0x97b797bb95f5b8d95d22fcf23a9ae324baccf496f91a233c0af2b2faf126fee9",19"totalDifficulty": "0x1bc3f34",20"timestamp": "0x67617a32",21"baseFeePerGas": "0x7",22"transactions": [23"0xff4893e5a3d7c9669bbf1351fb1bf96ca1649fd0e759f7f354f7eb3c5dd95aa1"24],25"transactionsRoot": "0x50d7efc271ef5b6f97bc83944ab9f2ed80551cf01837aa2feca21dc7ff0448e5",26"uncles": []27},28"id": 129}
1{2"jsonrpc": "2.0",3"result": {4"difficulty": "0x1",5"extraData": "0xd883010c02846765746888676f312e32302e37856c696e7578000000000000007fa74bc9af3eb3d066977f9e72536b72112acbefe527497f5acd88bb9e35930859f5e3e7b165889d0af630c049a879e78639507c163c13eb2713f15fef73808001",6"gasLimit": "0x1c03a180",7"gasUsed": "0x5208",8"hash": "0x9b1ebd3426e7a59a32d39ff106fb75e71f79201b8fcdaf3c656efb914b5851ab",9"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",10"miner": "0x0000000000000000000000000000000000000000",11"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",12"nonce": "0x0000000000000000",13"number": "0xe474f6",14"parentHash": "0x7ed3543c7153f1af23664e54362ff4ea4b610b29000fdfbbbd79accdfb8120c8",15"receiptsRoot": "0xf78dfb743fbd92ade140711c8bbc542b5e307f0ab7984eff35d751969fe57efa",16"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",17"size": "0x2da",18"stateRoot": "0x97b797bb95f5b8d95d22fcf23a9ae324baccf496f91a233c0af2b2faf126fee9",19"totalDifficulty": "0x1bc3f34",20"timestamp": "0x67617a32",21"baseFeePerGas": "0x7",22"transactions": [23"0xff4893e5a3d7c9669bbf1351fb1bf96ca1649fd0e759f7f354f7eb3c5dd95aa1"24],25"transactionsRoot": "0x50d7efc271ef5b6f97bc83944ab9f2ed80551cf01837aa2feca21dc7ff0448e5",26"uncles": []27},28"id": 129}