Parameters
The block number in hexadecimal format or the string latest, earliest, pending, safe or finalized
(default: false) The method returns the full transaction objects when this value is true otherwise, it returns only the hashes of the transactions
Returns
A block object, or null when no block was found:
The address of the entity (validator or miner) that produced or proposed the block
The minimum fee per unit of gas required for transactions to be included in the block, expressed in hexadecimal format
The integer of the difficulty for this block encoded as a hexadecimal
The “extra data” field of this block
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 block hash of the requested block. null if pending
The bloom filter for the logs of the block. null if pending
The address of the beneficiary to whom the mining rewards were given
The hash of the generated proof-of-work. null if pending
The block number of the requested block encoded as a hexadecimal. null if pending
The hash of the parent block
The root of the receipts trie of the block
The SHA3 of the uncles data in the block
The size of this block in bytes as an Integer value encoded as hexadecimal
The root of the final state trie of the block
The unix timestamp for when the block was collated
The integer of the total difficulty of the chain until this block encoded as a hexadecimal
An array of transaction objects
The root of the transaction trie of the block
An array of uncle hashes
1{2"jsonrpc": "2.0",3"result": {4"author": "0xd5502690fcc4f2a60930d9a6543373051b5c0da6",5"baseFeePerGas": "0x174876e800",6"difficulty": "0x0",7"extraData": "0x",8"gasLimit": "0x3938700",9"gasUsed": "0x6bd2c",10"hash": "0x4d7369d18a0e9910f37043384be84e06acf0e514e563518a9eeaef0fa8f98ad4",11"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",12"miner": "0xd5502690fcc4f2a60930d9a6543373051b5c0da6",13"nonce": "0x0000000000000000",14"number": "0x394bfd",15"parentHash": "0x642d25f3991e6f0b035cb33c0376d9315a7166de68783b73a08202f7d2dd8253",16"receiptsRoot": "0x440971d9b616d65e0b68f249ffae4f28bc99b93564370ebcf2b9278d94c12bec",17"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",18"size": "0xce3",19"stateRoot": "0x18b3687b4ff6b4c0c1fcc26da89c373862f1ab311fee77848fd10f03d15aa5a0",20"timestamp": "0x679cd1de",21"totalDifficulty": "0x0",22"transactions": [23"0x5ec2a2868ecf6497bea7a36fdb2aaf5e1d7488e4a966440af14e4f636d7f23e0",24"0x8346cd797aa04455cf6aee6d9964729bb78911fda7d931abedbe4c06edb5479d",25"0x12557bbc4aeca23f1c9a2d351498f92a88137c28c545adf5374e4c6531ed3e5d",26"0x20c4b4994772d9c81e3432c3af9fc194d1885a019972bc4f46250b0442a97ec4",27"0x738b42d5807b6180b4e84b6188a28b5b8c0eaa848892a90cecffc7ea4be1c104",28"0x69d603ee42ce260675aba1eb9e8660d20a2afa5b9dc387def9569620563c6b0a",29"0x0f783de1659a2e71537df5f7e4ef84e2f89a445b1f7e7d166e13a65f3460d433",30"0x3648f73303b6feb5d5a78cec42ded8e277ec7427a33a0472036092ea1d1262a1",31"0x834713690a8384a318748168ed589988aec4120ba480f984b2faaff1256b51fe"32],33"transactionsRoot": "0x192f6175cdc4cdfcf6316a284fd9633754f54d715b6a9dfbd2b0b1cd39e8f0c5",34"uncles": []35},36"id": 137}
1{2"jsonrpc": "2.0",3"result": {4"author": "0xd5502690fcc4f2a60930d9a6543373051b5c0da6",5"baseFeePerGas": "0x174876e800",6"difficulty": "0x0",7"extraData": "0x",8"gasLimit": "0x3938700",9"gasUsed": "0x6bd2c",10"hash": "0x4d7369d18a0e9910f37043384be84e06acf0e514e563518a9eeaef0fa8f98ad4",11"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",12"miner": "0xd5502690fcc4f2a60930d9a6543373051b5c0da6",13"nonce": "0x0000000000000000",14"number": "0x394bfd",15"parentHash": "0x642d25f3991e6f0b035cb33c0376d9315a7166de68783b73a08202f7d2dd8253",16"receiptsRoot": "0x440971d9b616d65e0b68f249ffae4f28bc99b93564370ebcf2b9278d94c12bec",17"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",18"size": "0xce3",19"stateRoot": "0x18b3687b4ff6b4c0c1fcc26da89c373862f1ab311fee77848fd10f03d15aa5a0",20"timestamp": "0x679cd1de",21"totalDifficulty": "0x0",22"transactions": [23"0x5ec2a2868ecf6497bea7a36fdb2aaf5e1d7488e4a966440af14e4f636d7f23e0",24"0x8346cd797aa04455cf6aee6d9964729bb78911fda7d931abedbe4c06edb5479d",25"0x12557bbc4aeca23f1c9a2d351498f92a88137c28c545adf5374e4c6531ed3e5d",26"0x20c4b4994772d9c81e3432c3af9fc194d1885a019972bc4f46250b0442a97ec4",27"0x738b42d5807b6180b4e84b6188a28b5b8c0eaa848892a90cecffc7ea4be1c104",28"0x69d603ee42ce260675aba1eb9e8660d20a2afa5b9dc387def9569620563c6b0a",29"0x0f783de1659a2e71537df5f7e4ef84e2f89a445b1f7e7d166e13a65f3460d433",30"0x3648f73303b6feb5d5a78cec42ded8e277ec7427a33a0472036092ea1d1262a1",31"0x834713690a8384a318748168ed589988aec4120ba480f984b2faaff1256b51fe"32],33"transactionsRoot": "0x192f6175cdc4cdfcf6316a284fd9633754f54d715b6a9dfbd2b0b1cd39e8f0c5",34"uncles": []35},36"id": 137}