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
- 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
- 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 - please see eth_getTransactionByHash for exact shape
- transactionsRootstring
The root of the transaction trie of the block
- unclesarray
An array of uncle hashes
- l1BlockNumberstring
Arbitrum-specific field
l1BlockNumberon L2 blocks
- sendCountstring
Arbitrum-specific field
sendCounton L2 blocks
- sendRootstring
Arbitrum-specific field
sendRooton L2 blocks
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"baseFeePerGas": "0x5f5e100",6"difficulty": "0x1",7"extraData": "0xfdde94c8a1737b17f72946f3a716b502a2a0276078a534d89948d3159e04d142",8"gasLimit": "0x4000000000000",9"gasUsed": "0xe8416",10"hash": "0x20bde2ea857799e989e31e204471efadb9a462901cf4a4ce7b0cc4832813753b",11"l1BlockNumber": "0xf86094",12"logsBloom": "0x0000004000008000400000000000000000004000000000002000000000000010000000200000002000000000001c00000000000000000010004000000020000000400000000000000000008800000000000000000000400000000000800000000004000000000001108000000400000081000000000040000000001000000000000000040000000000000000000400000000000128000000000000a000000000120400004000020000000004000000000020000000000001000000000000000000005002000008000000000000000000000000400000000000000000100010001010800000000000000000008000000000010000000000400000000008000000",13"miner": "0xa4b000000000000000000073657175656e636572",14"mixHash": "0x0000000000006d890000000000f86094000000000000000a0000000000000000",15"nonce": "0x0000000000059a38",16"number": "0x2ef76ad",17"parentHash": "0xb28a18da5ac2683f8008d6c3a95329a0893c4f5e272260184bc84a6a5b8c1013",18"receiptsRoot": "0x5cf0bde56f5bc667dcd80807ca99cae3cb71d221d616b35471c9a9391b94127f",19"sendCount": "0x6d89",20"sendRoot": "0xfdde94c8a1737b17f72946f3a716b502a2a0276078a534d89948d3159e04d142",21"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",22"size": "0x419",23"stateRoot": "0x8c5a9902fdbea51797c356482329f6fd8ab9a23a1b749527d5d77f0ef5463d2a",24"timestamp": "0x63ab2ee8",25"transactions": [26"0x57017a5058cca740e8998ddceb2e0e6f06c561534b09da7d0fe247fad7d9d1ac",27"0x6b9f1a1411809bc1638a30f3acf17e8a935c99a1226542b5e3ffe97a52d7a05f"28],29"transactionsRoot": "0xed84052a1d28ce63d5d27d18d67122026ee7a9784ff32719179293019ba74fb8",30"uncles": []31}32}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"baseFeePerGas": "0x5f5e100",6"difficulty": "0x1",7"extraData": "0xfdde94c8a1737b17f72946f3a716b502a2a0276078a534d89948d3159e04d142",8"gasLimit": "0x4000000000000",9"gasUsed": "0xe8416",10"hash": "0x20bde2ea857799e989e31e204471efadb9a462901cf4a4ce7b0cc4832813753b",11"l1BlockNumber": "0xf86094",12"logsBloom": "0x0000004000008000400000000000000000004000000000002000000000000010000000200000002000000000001c00000000000000000010004000000020000000400000000000000000008800000000000000000000400000000000800000000004000000000001108000000400000081000000000040000000001000000000000000040000000000000000000400000000000128000000000000a000000000120400004000020000000004000000000020000000000001000000000000000000005002000008000000000000000000000000400000000000000000100010001010800000000000000000008000000000010000000000400000000008000000",13"miner": "0xa4b000000000000000000073657175656e636572",14"mixHash": "0x0000000000006d890000000000f86094000000000000000a0000000000000000",15"nonce": "0x0000000000059a38",16"number": "0x2ef76ad",17"parentHash": "0xb28a18da5ac2683f8008d6c3a95329a0893c4f5e272260184bc84a6a5b8c1013",18"receiptsRoot": "0x5cf0bde56f5bc667dcd80807ca99cae3cb71d221d616b35471c9a9391b94127f",19"sendCount": "0x6d89",20"sendRoot": "0xfdde94c8a1737b17f72946f3a716b502a2a0276078a534d89948d3159e04d142",21"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",22"size": "0x419",23"stateRoot": "0x8c5a9902fdbea51797c356482329f6fd8ab9a23a1b749527d5d77f0ef5463d2a",24"timestamp": "0x63ab2ee8",25"transactions": [26"0x57017a5058cca740e8998ddceb2e0e6f06c561534b09da7d0fe247fad7d9d1ac",27"0x6b9f1a1411809bc1638a30f3acf17e8a935c99a1226542b5e3ffe97a52d7a05f"28],29"transactionsRoot": "0xed84052a1d28ce63d5d27d18d67122026ee7a9784ff32719179293019ba74fb8",30"uncles": []31}32}