Parameters
Returns
- hashstring
The hash of the transaction
- blockobject
A block object, or null when no block was found
- baseFeePerGasstring
The integer of the difficulty for this block 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 if pending
- logsBloomstring
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 hexadecimal
- noncestring
The hash of the generated proof-of-work. Null if pending
- numberstring
The block number of the requested block encoded as 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
- transactionsarray
An array of transaction objects with the following fields:
- blockHash
The hash of the block where this log was in. Null when it's a pending log
- blockNumber
The block number where this log was in. Null when it's a pending log
- from
The address of the sender
- gas
The gas provided by the sender, encoded as hexadecimal
- gasPrice
The gas price provided by the sender in wei, encoded as hexadecimal
- maxFeePerGas
The maximum fee per gas set in the transaction
- maxPriorityFeePerGas
The maximum priority gas fee set in the transaction
- hash
The hash of the transaction
- input
The data sent along with the transaction
- nonce
The number of transactions made by the sender before this one encoded as hexadecimal
- to
The address of the receiver. Null when it's a contract creation transaction
- transactionIndex
The integer of the transaction's index position that the log was created from. Null when it's a pending log
- value
The value transferred in wei encoded as hexadecimal
- type
The transaction type
- accessList
A list of addresses and storage keys that the transaction plans to access
- chainId
The chain id of the transaction, if any
- v
The standardized V field of the signature
- r
The R field of the signature
- s
The S field of the signature
- transactionsRootstring
The root of the transaction trie of the block
- unclesarray
An array of uncle hashes
- rlpstring
The RLP encoded header
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"block": {7"difficulty": "0x2d50ba175407",8"extraData": "0xe4b883e5bda9e7a59ee4bb99e9b1bc",9"gasLimit": "0x7a1200",10"gasUsed": "0x6384e4",11"hash": "0xbc7c31beaeee0affb39a4ddc67b18b492e7922788d19b398c5ee9caf659d86be",12"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",13"miner": "0xb2930b35844a230f00e51431acae96fe543a0347",14"mixHash": "0x7c76222e82b2e85c0e24d5357a9f669b3348910dada025716295cb658387d9c1",15"nonce": "0xa179e5721b38b11e",16"number": "0x290b61",17"parentHash": "0x63aef7ff9981a0b453c4494ba29514c1841e94ae46f8231a3eb332f2e8f4bcd4",18"receiptsRoot": "0x99c5deac50e8700862cba3d8eaa233a376dad31fde5d227aab34be9ba7c82fd1",19"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",20"size": "0x10d20",21"stateRoot": "0x7f73f5fb9f891213b671356126c31e9795985b72a3829aa2675f9a51e8f7a94c",22"timestamp": "0x5c8bc76e",23"totalDifficulty": null,24"transactions": [25{26"blockHash": "0xbc7c31beaeee0affb39a4ddc67b18b492e7922788d19b398c5ee9caf659d86be",27"blockNumber": "0x290b61",28"from": "0x98ec059dc3adfbdd63429454aeb0c990fba4a128",29"gas": "0x7d40",30"gasPrice": "0x3b9aca00",31"hash": "0x7d453927a6b5a799d40d29edb4228a3232ad2b8ed0294c621c7df42b161eb371",32"input": "0xa9059cbb000000000000000000000000b9fa6a25634ab7a38d57784ba06db9c7c8a6a393000000000000000000000000000000000000000000000000000000003b9aca00",33"nonce": "0x12fa7",34"to": "0xdac17f958d2ee523a2206206994597c13d831ec7",35"transactionIndex": "0x0",36"value": "0x0",37"v": "0x26",38"r": "0xc673ce2558de8f6c81aaf0f16f9ce7f42376449b368ea0e09cc9b3175a9cdad9",39"s": "0x65b3d8c14066e9978d2931ab3adfc547a600e2c021d0a32d59323b15ded3f5ef"40}41],42"transactionsRoot": "0x99c5deac50e8700862cba3d8eaa233a376dad31fde5d227aab34be9ba7c82fd1",43"uncles": []44},45"hash": "0xbc7c31beaeee0affb39a4ddc67b18b492e7922788d19b398c5ee9caf659d86be",46"rlp": "0xf904320f..."47}48]49}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"block": {7"difficulty": "0x2d50ba175407",8"extraData": "0xe4b883e5bda9e7a59ee4bb99e9b1bc",9"gasLimit": "0x7a1200",10"gasUsed": "0x6384e4",11"hash": "0xbc7c31beaeee0affb39a4ddc67b18b492e7922788d19b398c5ee9caf659d86be",12"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",13"miner": "0xb2930b35844a230f00e51431acae96fe543a0347",14"mixHash": "0x7c76222e82b2e85c0e24d5357a9f669b3348910dada025716295cb658387d9c1",15"nonce": "0xa179e5721b38b11e",16"number": "0x290b61",17"parentHash": "0x63aef7ff9981a0b453c4494ba29514c1841e94ae46f8231a3eb332f2e8f4bcd4",18"receiptsRoot": "0x99c5deac50e8700862cba3d8eaa233a376dad31fde5d227aab34be9ba7c82fd1",19"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",20"size": "0x10d20",21"stateRoot": "0x7f73f5fb9f891213b671356126c31e9795985b72a3829aa2675f9a51e8f7a94c",22"timestamp": "0x5c8bc76e",23"totalDifficulty": null,24"transactions": [25{26"blockHash": "0xbc7c31beaeee0affb39a4ddc67b18b492e7922788d19b398c5ee9caf659d86be",27"blockNumber": "0x290b61",28"from": "0x98ec059dc3adfbdd63429454aeb0c990fba4a128",29"gas": "0x7d40",30"gasPrice": "0x3b9aca00",31"hash": "0x7d453927a6b5a799d40d29edb4228a3232ad2b8ed0294c621c7df42b161eb371",32"input": "0xa9059cbb000000000000000000000000b9fa6a25634ab7a38d57784ba06db9c7c8a6a393000000000000000000000000000000000000000000000000000000003b9aca00",33"nonce": "0x12fa7",34"to": "0xdac17f958d2ee523a2206206994597c13d831ec7",35"transactionIndex": "0x0",36"value": "0x0",37"v": "0x26",38"r": "0xc673ce2558de8f6c81aaf0f16f9ce7f42376449b368ea0e09cc9b3175a9cdad9",39"s": "0x65b3d8c14066e9978d2931ab3adfc547a600e2c021d0a32d59323b15ded3f5ef"40}41],42"transactionsRoot": "0x99c5deac50e8700862cba3d8eaa233a376dad31fde5d227aab34be9ba7c82fd1",43"uncles": []44},45"hash": "0xbc7c31beaeee0affb39a4ddc67b18b492e7922788d19b398c5ee9caf659d86be",46"rlp": "0xf904320f..."47}48]49}