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
(Optional) 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
(Optional) 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
(Optional) Arbitrum-specific field
l1BlockNumberon L2 blocks
- sendCountstring
(Optional) Arbitrum-specific field
sendCounton L2 blocks
- sendRootstring
(Optional) Arbitrum-specific field
sendRooton L2 blocks
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"baseFeePerGas": "0x5f5e100",6"difficulty": "0x1",7"extraData": "0x3985aec4485a9d9e6d4c42eb8c4a1e9893e42a20c7bf8c97a05a312503db987f",8"gasLimit": "0x4000000000000",9"gasUsed": "0x5627",10"hash": "0xd711374c8539547a0390c0fc774c96070f01cacbeda33515d6dbab6d08ed5bef",11"l1BlockNumber": "0xf16208",12"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",13"miner": "0xa4b000000000000000000073657175656e636572",14"mixHash": "0x0000000000000fdd0000000000f1620800000000000000070000000000000000",15"nonce": "0x000000000000e10c",16"number": "0xb25aa",17"parentHash": "0x6cabf3e98c772386ea4152e8e3c039115dedb09759299ace6a5d4122fbd05581",18"receiptsRoot": "0xdff6b9ab11b8817b3d3b11cb36724ae23dc6e36991dd16eea84451c996e58252",19"sendCount": "0xfdd",20"sendRoot": "0x3985aec4485a9d9e6d4c42eb8c4a1e9893e42a20c7bf8c97a05a312503db987f",21"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",22"size": "0x32c",23"stateRoot": "0x5d62b53b5465ae2449362374501b55651a1f1e1da91e514ee56b7fa7bd37bd32",24"timestamp": "0x6356c33d",25"transactions": [26"0x74491232924cb8aeb451d40d8f99565ed572a6de24c64365e0da6743204cbca8",27"0x36e8f040169cb91305cbd36b4cfea317ec09d29eb3b26ada08170cb461a1c646"28],29"transactionsRoot": "0xe18fe1ebdab739a23c12050934a10e3c77d9e0f8bd49f91c28aa2531d16e3215",30"uncles": []31}32}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"baseFeePerGas": "0x5f5e100",6"difficulty": "0x1",7"extraData": "0x3985aec4485a9d9e6d4c42eb8c4a1e9893e42a20c7bf8c97a05a312503db987f",8"gasLimit": "0x4000000000000",9"gasUsed": "0x5627",10"hash": "0xd711374c8539547a0390c0fc774c96070f01cacbeda33515d6dbab6d08ed5bef",11"l1BlockNumber": "0xf16208",12"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",13"miner": "0xa4b000000000000000000073657175656e636572",14"mixHash": "0x0000000000000fdd0000000000f1620800000000000000070000000000000000",15"nonce": "0x000000000000e10c",16"number": "0xb25aa",17"parentHash": "0x6cabf3e98c772386ea4152e8e3c039115dedb09759299ace6a5d4122fbd05581",18"receiptsRoot": "0xdff6b9ab11b8817b3d3b11cb36724ae23dc6e36991dd16eea84451c996e58252",19"sendCount": "0xfdd",20"sendRoot": "0x3985aec4485a9d9e6d4c42eb8c4a1e9893e42a20c7bf8c97a05a312503db987f",21"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",22"size": "0x32c",23"stateRoot": "0x5d62b53b5465ae2449362374501b55651a1f1e1da91e514ee56b7fa7bd37bd32",24"timestamp": "0x6356c33d",25"transactions": [26"0x74491232924cb8aeb451d40d8f99565ed572a6de24c64365e0da6743204cbca8",27"0x36e8f040169cb91305cbd36b4cfea317ec09d29eb3b26ada08170cb461a1c646"28],29"transactionsRoot": "0xe18fe1ebdab739a23c12050934a10e3c77d9e0f8bd49f91c28aa2531d16e3215",30"uncles": []31}32}