Parameters
- block numberstringREQUIRED
The block number in hexadecimal format
Returns
- blockobject
The information about the specified block:
- baseFeePerGasstring
A string of the base fee encoded as hexadecimal
- difficultystring
The integer of the difficulty for this block encoded as hexadecimal
- extraDatastring
The extra data field of this block
- gasLimitstring
The maximum gas allowed in this block encoded as hexadecimal
- gasUsedstring
The total used gas by all transactions in this block encoded as hexadecimal
- hashstring
The block hash of the requested block. Null when it's pending block
- logsBloomarray
The bloom filter for the logs of the block. Null when it's a pending block
- minerstring
The address of the beneficiary to whom the mining rewards were given
- mixHashstring
A string of a 256-bit hash encoded as hexadecimal
- noncestring
The hash of the generated proof-of-work. Null when it's a pending block
- numberstring
The block number of the requested block, encoded as hexadecimal. Null when it's a pending block
- 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 hexadecimal
- transactionsarray
An array of transaction objects:
- blockHashstring
The block hash of the requested block
- blockNumberstring
The block number of the requested block, encoded as hexadecimal
- fromstring
The address of the sender
- gasstring
The gas provided by the sender, encoded as hexadecimal
- gasPricestring
The gas price provided by the sender in Wei, encoded as hexadecimal
- hashstring
The hash of the transaction
- inputstring
The data sent along with the transaction
- noncestring
The number of transactions made by the sender prior to this one encoded as hexadecimal
- tostring
The address of the receiver. Null when it's a contract creation
- transactionIndexstring
The integer of the transactions index position in the block. Null if pending
- valuestring
The value transferred in Wei, encoded as hexadecimal
- typestring
The transaction type
- vstring
The ECDSA recovery id encoded as hexadecimal
- rstring
The ECDSA signature r
- sstring
The ECDSA signature s
- maxFeePerGasstring
The maximum fee per gas set in the transaction
- maxPriorityFeePerGasstring
The maximum priority gas fee set in the transaction
- accessListarray
An array of legacy transaction objects
- chainIdstring
The chain id of the transaction
- transactionsRootstring
The root of the transaction trie of the block
- unclesstring
An array of uncle hashes
- withdrawalsarray
Withdrawal objects for this block (EIP-4895). Omitted on pre-Shanghai blocks.
- indexstring
The index of the withdrawal to uniquely identify each withdrawal
- validatorIndexstring
The index of the validator who initiated the withdrawal
- addressstring
The address to which the withdrawn amount is sent
- amountstring
The amount of ether, provided in hexadecimal format, corresponding to a certain value in gwei
- withdrawalsRootstring
Merkle root of withdrawal data (EIP-4895). Omitted on pre-Shanghai blocks.
- receiptsarray
An array of transaction receipt objects for the specified block
- blockHashstring
The hash of the block. Null when it's a pending
- blockNumberstring
The block number
- contractAddressstring
The contract address created if the transaction was a contract creation, otherwise null
- cumulativeGasUsedstring
The total amount of gas used when this transaction was executed in the block
- effectiveGasPricestring
The actual value per gas deducted from the senders account
- fromstring
The address of the sender
- gasUsedstring
The amount of gas used by this specific transaction alone
- logsarray
An array of log objects generated by this transaction:
- addressstring
The address from which this log originated
- topicsarray
An array of zero to four 32 Bytes data of indexed log arguments. In solidity: The first topic is the hash of the signature of the event (e.g. Deposit(address,bytes32,uint256)), except you declare the event with the anonymous specifier
- datastring
It contains one or more 32 Bytes non-indexed arguments of the
- blockNumberstring
The block number where this log was in. Null when it's a pending
- transactionHashstring
The hash of the transactions this log was created from. Null when it's a pending
- transactionIndexstring
The integer of the transaction's index position that the log was created from. Null when it's a pending
- blockHashstring
The hash of the block where this log was in. Null when it's a pending
- logIndexstring
The integer of the log index position in the block. Null when it's a pending
- removedboolean
True when the log was removed, due to a chain reorganization. False if it's a valid
- logsBloomstring
The bloom filter for light clients to quickly retrieve related
- statusstring
Either 1 (success) or 0 (failure)
- tostring
The address of the receiver. Null when it's a contract creation
- transactionHashstring
The hash of the transaction
- transactionIndexstring
The index of the transaction in the block
- typestring
The receipt type
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"receipts": [6{7"blockHash": "0xa605e50c630264a931437b4745ca7a355bb6c41bb9367cffdac514b34355bf82",8"blockNumber": "0x7d8e1",9"contractAddress": null,10"cumulativeGasUsed": "0x5208",11"effectiveGasPrice": "0xba43b7400",12"from": "0xb9f46102e74a8777c95c220529516bbc9492f1d6",13"gasUsed": "0x5208",14"logs": [],15"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",16"status": "",17"to": "0x32be343b94f860124dc4fee278fdcbd38c102d88",18"transactionHash": "0xb85a2d8c702f6276f4c9200fe2549f48f9dcef74d577ed07945b4985d970e606",19"transactionIndex": "0x0",20"type": "0x0"21}22],23"block": {24"baseFeePerGas": "",25"difficulty": "0x6f9bca6412a",26"extraData": "0xd783010203844765746887676f312e352e31856c696e7578",27"gasLimit": "0x2fefd8",28"gasUsed": "0x5208",29"hash": "0xa605e50c630264a931437b4745ca7a355bb6c41bb9367cffdac514b34355bf82",30"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",31"miner": "0x738db714c08b8a32a29e0e68af00215079aa9c5c",32"mixHash": "0x8672445c504745ff204229234fd79a5b82b9fe9d9a1a8e0c378e1b06a748d6ac",33"nonce": "0xec0bf40d8fb6f263",34"number": "0x7d8e1",35"parentHash": "0xdc1fd3c34ed0269e701cf362e0df03fb43ecbb81effd77f500bf08414f73ffa9",36"receiptsRoot": "0x7349c0a84760b359f865093252342a8d20b27571847d41666d1c3d4199b700a1",37"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",38"size": "0x28e",39"stateRoot": "0xfa7cc735c589271360b80493c45d97c41de054e20b2a8fa5628da64113beb91f",40"timestamp": "0x5640b072",41"totalDifficulty": "",42"transactions": [43{44"blockHash": "0xa605e50c630264a931437b4745ca7a355bb6c41bb9367cffdac514b34355bf82",45"blockNumber": "0x7d8e1",46"from": "0xb9f46102e74a8777c95c220529516bbc9492f1d6",47"gas": "0x5208",48"gasPrice": "0xba43b7400",49"hash": "0xb85a2d8c702f6276f4c9200fe2549f48f9dcef74d577ed07945b4985d970e606",50"input": "0x",51"nonce": "0x0",52"to": "0x32be343b94f860124dc4fee278fdcbd38c102d88",53"transactionIndex": "0x0",54"value": "0x8ac3680c5ce46000",55"type": "0x0",56"v": "0x1c",57"r": "0x99854cf9de1cba233276bd948cfec1ebb8992d2dc42b2f2533f7b876ce4a1c3e",58"s": "0x7545f7742a6176044dc0ea055b359bf03eddf942ed9301cda78c146c0f7dc4b2",59"maxFeePerGas": "",60"maxPriorityFeePerGas": "",61"accessList": null,62"chainId": ""63}64],65"transactionsRoot": "0x9ef5d88b51c4729bfc9e5dad12d4ef3421f3573ab91f1a6f63a4cd2f6011dcbe",66"uncles": []67}68}69}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"receipts": [6{7"blockHash": "0xa605e50c630264a931437b4745ca7a355bb6c41bb9367cffdac514b34355bf82",8"blockNumber": "0x7d8e1",9"contractAddress": null,10"cumulativeGasUsed": "0x5208",11"effectiveGasPrice": "0xba43b7400",12"from": "0xb9f46102e74a8777c95c220529516bbc9492f1d6",13"gasUsed": "0x5208",14"logs": [],15"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",16"status": "",17"to": "0x32be343b94f860124dc4fee278fdcbd38c102d88",18"transactionHash": "0xb85a2d8c702f6276f4c9200fe2549f48f9dcef74d577ed07945b4985d970e606",19"transactionIndex": "0x0",20"type": "0x0"21}22],23"block": {24"baseFeePerGas": "",25"difficulty": "0x6f9bca6412a",26"extraData": "0xd783010203844765746887676f312e352e31856c696e7578",27"gasLimit": "0x2fefd8",28"gasUsed": "0x5208",29"hash": "0xa605e50c630264a931437b4745ca7a355bb6c41bb9367cffdac514b34355bf82",30"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",31"miner": "0x738db714c08b8a32a29e0e68af00215079aa9c5c",32"mixHash": "0x8672445c504745ff204229234fd79a5b82b9fe9d9a1a8e0c378e1b06a748d6ac",33"nonce": "0xec0bf40d8fb6f263",34"number": "0x7d8e1",35"parentHash": "0xdc1fd3c34ed0269e701cf362e0df03fb43ecbb81effd77f500bf08414f73ffa9",36"receiptsRoot": "0x7349c0a84760b359f865093252342a8d20b27571847d41666d1c3d4199b700a1",37"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",38"size": "0x28e",39"stateRoot": "0xfa7cc735c589271360b80493c45d97c41de054e20b2a8fa5628da64113beb91f",40"timestamp": "0x5640b072",41"totalDifficulty": "",42"transactions": [43{44"blockHash": "0xa605e50c630264a931437b4745ca7a355bb6c41bb9367cffdac514b34355bf82",45"blockNumber": "0x7d8e1",46"from": "0xb9f46102e74a8777c95c220529516bbc9492f1d6",47"gas": "0x5208",48"gasPrice": "0xba43b7400",49"hash": "0xb85a2d8c702f6276f4c9200fe2549f48f9dcef74d577ed07945b4985d970e606",50"input": "0x",51"nonce": "0x0",52"to": "0x32be343b94f860124dc4fee278fdcbd38c102d88",53"transactionIndex": "0x0",54"value": "0x8ac3680c5ce46000",55"type": "0x0",56"v": "0x1c",57"r": "0x99854cf9de1cba233276bd948cfec1ebb8992d2dc42b2f2533f7b876ce4a1c3e",58"s": "0x7545f7742a6176044dc0ea055b359bf03eddf942ed9301cda78c146c0f7dc4b2",59"maxFeePerGas": "",60"maxPriorityFeePerGas": "",61"accessList": null,62"chainId": ""63}64],65"transactionsRoot": "0x9ef5d88b51c4729bfc9e5dad12d4ef3421f3573ab91f1a6f63a4cd2f6011dcbe",66"uncles": []67}68}69}