Parameters
- block numberstring
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
- 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": "0x5e93e511585b002a56a2afee7313c2578b5e98bc67835d9c9e3ef42dff9e3961",8"blockNumber": "0xf7d1ec",9"contractAddress": null,10"cumulativeGasUsed": "0x10059",11"effectiveGasPrice": "0x87f91cd00",12"from": "0x5041ed759dd4afc3a72b8192c143f72f4724081a",13"gasUsed": "0x10059",14"logs": [15{16"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",17"topics": [18"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",19"0x0000000000000000000000005041ed759dd4afc3a72b8192c143f72f4724081a"20],21"data": "0x0000000000000000000000000000000000000000000000000000000013185de0",22"blockNumber": "0xf7d1ec",23"transactionHash": "0x8169c8ec321e6a3de3b6f5384cfede82e92cfe4a8494cb3f5460213cb920d955",24"transactionIndex": "0x0",25"blockHash": "0x5e93e511585b002a56a2afee7313c2578b5e98bc67835d9c9e3ef42dff9e3961",26"logIndex": "0x0",27"removed": false28}29],30"logsBloom": "0x00000000000000000000000000000000000000000000000000000000002000000000001000000000000000000000000000000000000000000000000000000000000000000000000008000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000004000000000000000010000000000000000000000000000000000200008000000000000000000000000000000000000000000000000002002000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000",31"status": "0x1",32"to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",33"transactionHash": "0x8169c8ec321e6a3de3b6f5384cfede82e92cfe4a8494cb3f5460213cb920d955",34"transactionIndex": "0x0",35"type": "0x0"36},37{38"blockHash": "0x5e93e511585b002a56a2afee7313c2578b5e98bc67835d9c9e3ef42dff9e3961",39"blockNumber": "0xf7d1ec",40"contractAddress": null,41"cumulativeGasUsed": "0x15261",42"effectiveGasPrice": "0x550fef9ad",43"from": "0x8216874887415e2650d12d53ff53516f04a74fd7",44"gasUsed": "0x5208",45"logs": [],46"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",47"status": "0x1",48"to": "0x8ba01244795223f7550b7b18daa6787667b13fda",49"transactionHash": "0x9d301cd3544ba48bcb79b3620ee2d30d30c17bce37af4b6eea87fc1f8ce91528",50"transactionIndex": "0x1",51"type": "0x2"52}53],54"block": {55"baseFeePerGas": "0x4bbdd7c2d",56"difficulty": "0x0",57"extraData": "0x",58"gasLimit": "0x1c9c380",59"gasUsed": "0x1a7919",60"hash": "0x5e93e511585b002a56a2afee7313c2578b5e98bc67835d9c9e3ef42dff9e3961",61"logsBloom": "0x01e000102000000408a00000a20010280001220810404000000101000060080048042010100100000010806086080100020107002804040020040020002000000041080040000980588000080400002090410000104000100800084480005200814400000202000000200020000008180000040000000400020000100000400002000140008210100008000041000044000010010100020900028042081000118a8c0401000020630800048000000c0402040000000200020840080000000080016021020000004004010000001100050200484004000015c00009020020a0000050200000080000004401000000080020000000080c80500000000200000000",62"miner": "0x0000000000000000000000000000000000000000",63"mixHash": "0x09c73612b8dccc0b126aa2276f8854ede7760f6d548938e58d4b1ca4bef01516",64"nonce": "0x0000000000000000",65"number": "0xf7d1ec",66"parentHash": "0xb739eab5d2c9ebfe1716af26446e09a3c349f1d417269bf70196a19f47fcaa81",67"receiptsRoot": "0x61980ee0a5e9bdb789624ce64640a64ea9895cabd44b744e7de92bf4994ee0d5",68"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",69"size": "0x2391",70"stateRoot": "0xb2d04d19837a20839e2fb07c9604677020b2798c3f27be2051b099944cf2b3b6",71"timestamp": "0x63a47743",72"totalDifficulty": "",73"transactions": [74{75"blockHash": "0x5e93e511585b002a56a2afee7313c2578b5e98bc67835d9c9e3ef42dff9e3961",76"blockNumber": "0xf7d1ec",77"from": "0x5041ed759dd4afc3a72b8192c143f72f4724081a",78"gas": "0x668a0",79"gasPrice": "0x87f91cd00",80"hash": "0x8169c8ec321e6a3de3b6f5384cfede82e92cfe4a8494cb3f5460213cb920d955",81"input": "0xa9059cbb000000000000000000000000c82bc6286e1126b05e80eeeeee88af089beef27b0000000000000000000000000000000000000000000000000000000013185de0",82"nonce": "0x14a02f",83"to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",84"transactionIndex": "0x0",85"value": "0x0",86"type": "0x0",87"v": "0x26",88"r": "0x972cc5d000dd64ffb6ad46e77f49956bf717346b4d737e03b74f8dd39c72e867",89"s": "0x68076e50ae03e870e6970a3228e92a9e4edb17d3e1bff903ea4eb0777cc25f5f",90"maxFeePerGas": "",91"maxPriorityFeePerGas": "",92"accessList": null,93"chainId": "0x1"94},95{96"blockHash": "0x5e93e511585b002a56a2afee7313c2578b5e98bc67835d9c9e3ef42dff9e3961",97"blockNumber": "0xf7d1ec",98"from": "0x8216874887415e2650d12d53ff53516f04a74fd7",99"gas": "0x5208",100"gasPrice": "0x550fef9ad",101"hash": "0x9d301cd3544ba48bcb79b3620ee2d30d30c17bce37af4b6eea87fc1f8ce91528",102"input": "0x",103"nonce": "0x5395b",104"to": "0x8ba01244795223f7550b7b18daa6787667b13fda",105"transactionIndex": "0x1",106"value": "0x8b44313b320000",107"type": "0x2",108"v": "0x0",109"r": "0xade3e1e05ebe5ef106403450742f9ea1f7e5074d8d3dfa29389cd1357de7c3e9",110"s": "0x7988603c75c509b9644881d61d7a042cf18d6b63d3ca0105fede89c72e7c5d57",111"maxFeePerGas": "0xaae66d839",112"maxPriorityFeePerGas": "0x95217d80",113"accessList": [],114"chainId": "0x1"115}116],117"transactionsRoot": "0xcd2c9b517771b7edf621f92a2f85e9178fbf45319917db199bb3117c3797973e",118"uncles": []119}120}121}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"receipts": [6{7"blockHash": "0x5e93e511585b002a56a2afee7313c2578b5e98bc67835d9c9e3ef42dff9e3961",8"blockNumber": "0xf7d1ec",9"contractAddress": null,10"cumulativeGasUsed": "0x10059",11"effectiveGasPrice": "0x87f91cd00",12"from": "0x5041ed759dd4afc3a72b8192c143f72f4724081a",13"gasUsed": "0x10059",14"logs": [15{16"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",17"topics": [18"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",19"0x0000000000000000000000005041ed759dd4afc3a72b8192c143f72f4724081a"20],21"data": "0x0000000000000000000000000000000000000000000000000000000013185de0",22"blockNumber": "0xf7d1ec",23"transactionHash": "0x8169c8ec321e6a3de3b6f5384cfede82e92cfe4a8494cb3f5460213cb920d955",24"transactionIndex": "0x0",25"blockHash": "0x5e93e511585b002a56a2afee7313c2578b5e98bc67835d9c9e3ef42dff9e3961",26"logIndex": "0x0",27"removed": false28}29],30"logsBloom": "0x00000000000000000000000000000000000000000000000000000000002000000000001000000000000000000000000000000000000000000000000000000000000000000000000008000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000004000000000000000010000000000000000000000000000000000200008000000000000000000000000000000000000000000000000002002000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000",31"status": "0x1",32"to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",33"transactionHash": "0x8169c8ec321e6a3de3b6f5384cfede82e92cfe4a8494cb3f5460213cb920d955",34"transactionIndex": "0x0",35"type": "0x0"36},37{38"blockHash": "0x5e93e511585b002a56a2afee7313c2578b5e98bc67835d9c9e3ef42dff9e3961",39"blockNumber": "0xf7d1ec",40"contractAddress": null,41"cumulativeGasUsed": "0x15261",42"effectiveGasPrice": "0x550fef9ad",43"from": "0x8216874887415e2650d12d53ff53516f04a74fd7",44"gasUsed": "0x5208",45"logs": [],46"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",47"status": "0x1",48"to": "0x8ba01244795223f7550b7b18daa6787667b13fda",49"transactionHash": "0x9d301cd3544ba48bcb79b3620ee2d30d30c17bce37af4b6eea87fc1f8ce91528",50"transactionIndex": "0x1",51"type": "0x2"52}53],54"block": {55"baseFeePerGas": "0x4bbdd7c2d",56"difficulty": "0x0",57"extraData": "0x",58"gasLimit": "0x1c9c380",59"gasUsed": "0x1a7919",60"hash": "0x5e93e511585b002a56a2afee7313c2578b5e98bc67835d9c9e3ef42dff9e3961",61"logsBloom": "0x01e000102000000408a00000a20010280001220810404000000101000060080048042010100100000010806086080100020107002804040020040020002000000041080040000980588000080400002090410000104000100800084480005200814400000202000000200020000008180000040000000400020000100000400002000140008210100008000041000044000010010100020900028042081000118a8c0401000020630800048000000c0402040000000200020840080000000080016021020000004004010000001100050200484004000015c00009020020a0000050200000080000004401000000080020000000080c80500000000200000000",62"miner": "0x0000000000000000000000000000000000000000",63"mixHash": "0x09c73612b8dccc0b126aa2276f8854ede7760f6d548938e58d4b1ca4bef01516",64"nonce": "0x0000000000000000",65"number": "0xf7d1ec",66"parentHash": "0xb739eab5d2c9ebfe1716af26446e09a3c349f1d417269bf70196a19f47fcaa81",67"receiptsRoot": "0x61980ee0a5e9bdb789624ce64640a64ea9895cabd44b744e7de92bf4994ee0d5",68"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",69"size": "0x2391",70"stateRoot": "0xb2d04d19837a20839e2fb07c9604677020b2798c3f27be2051b099944cf2b3b6",71"timestamp": "0x63a47743",72"totalDifficulty": "",73"transactions": [74{75"blockHash": "0x5e93e511585b002a56a2afee7313c2578b5e98bc67835d9c9e3ef42dff9e3961",76"blockNumber": "0xf7d1ec",77"from": "0x5041ed759dd4afc3a72b8192c143f72f4724081a",78"gas": "0x668a0",79"gasPrice": "0x87f91cd00",80"hash": "0x8169c8ec321e6a3de3b6f5384cfede82e92cfe4a8494cb3f5460213cb920d955",81"input": "0xa9059cbb000000000000000000000000c82bc6286e1126b05e80eeeeee88af089beef27b0000000000000000000000000000000000000000000000000000000013185de0",82"nonce": "0x14a02f",83"to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",84"transactionIndex": "0x0",85"value": "0x0",86"type": "0x0",87"v": "0x26",88"r": "0x972cc5d000dd64ffb6ad46e77f49956bf717346b4d737e03b74f8dd39c72e867",89"s": "0x68076e50ae03e870e6970a3228e92a9e4edb17d3e1bff903ea4eb0777cc25f5f",90"maxFeePerGas": "",91"maxPriorityFeePerGas": "",92"accessList": null,93"chainId": "0x1"94},95{96"blockHash": "0x5e93e511585b002a56a2afee7313c2578b5e98bc67835d9c9e3ef42dff9e3961",97"blockNumber": "0xf7d1ec",98"from": "0x8216874887415e2650d12d53ff53516f04a74fd7",99"gas": "0x5208",100"gasPrice": "0x550fef9ad",101"hash": "0x9d301cd3544ba48bcb79b3620ee2d30d30c17bce37af4b6eea87fc1f8ce91528",102"input": "0x",103"nonce": "0x5395b",104"to": "0x8ba01244795223f7550b7b18daa6787667b13fda",105"transactionIndex": "0x1",106"value": "0x8b44313b320000",107"type": "0x2",108"v": "0x0",109"r": "0xade3e1e05ebe5ef106403450742f9ea1f7e5074d8d3dfa29389cd1357de7c3e9",110"s": "0x7988603c75c509b9644881d61d7a042cf18d6b63d3ca0105fede89c72e7c5d57",111"maxFeePerGas": "0xaae66d839",112"maxPriorityFeePerGas": "0x95217d80",113"accessList": [],114"chainId": "0x1"115}116],117"transactionsRoot": "0xcd2c9b517771b7edf621f92a2f85e9178fbf45319917db199bb3117c3797973e",118"uncles": []119}120}121}