Parameters
- blockNumberstringREQUIRED
The block number in hexadecimal format or the string latest, earliest, pending, safe or finalized (safe and finalized tags are only supported on Ethereum, Gnosis, Arbitrum and Arbitrum Nova), see the default block parameter description in the official Ethereum documentation
Returns
- resultarray
An array of objects
- blockHashstring | null
The hash of the block. null when pending
- blockNumberstring
The block number
- contractAddressstring | null
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 sender account
- fromstring
The address of the sender
- gasUsedstring
The amount of gas used by this specific transaction alone
- logsarray
An array of log objects that generated this transaction
- addressstring
An 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 log
- blockNumberstring | null
The block number where this log was in. null when its a pending log
- transactionHashstring | null
The hash of the transactions this log was created from. null when its a pending log
- transactionIndexstring | null
The integer of the transaction's index position that the log was created from. null when it's a pending log
- blockHashstring | null
The hash of the block where this log was in. null when its a pending log
- logIndexstring | null
The integer of the log index position in the block. null when its a pending log
- removedboolean
It is true when the log was removed due to a chain reorganization, and false if it's a valid log
- logsBloomstring
The bloom filter for light clients to quickly retrieve related logs
- statusstring
It is either 1 (success) or 0 (failure) encoded as a hexadecimal
- tostring | null
The address of the receiver. null when it's a contract creation transaction
- transactionHashstring
The hash of the transaction
- transactionIndexstring
An index of the transaction in the block
- typestring
The value type
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"blockHash": "0x97b49e43632ac70c46b4003434058b18db0ad809617bd29f3448d46ca9085576",7"blockNumber": "0xc5043f",8"contractAddress": null,9"cumulativeGasUsed": "0x21000",10"effectiveGasPrice": "0x4a817c800",11"from": "0x8894e0a0c962cb723c1976a4421c95949be2d4e3",12"gasUsed": "0x21000",13"logs": [14{15"address": "0x6b175474e89094c44da98b954eedeac495271d0f",16"topics": [17"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",18"0x0000000000000000000000008894e0a0c962cb723c1976a4421c95949be2d4e3",19"0x0000000000000000000000002c46b28e4bac6b0188baf722f17f5f36e2170330"20],21"data": "0x000000000000000000000000000000000000000000000000058d15e176280000",22"blockNumber": "0xc5043f",23"transactionHash": "0xf79d96d5f3d5c82088cd79ad5fc5c5bbe9c8c805221e30041133b69b49162866",24"transactionIndex": "0x0",25"blockHash": "0x97b49e43632ac70c46b4003434058b18db0ad809617bd29f3448d46ca9085576",26"logIndex": "0x0",27"removed": false28}29],30"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",31"status": "0x1",32"to": "0x6b175474e89094c44da98b954eedeac495271d0f",33"transactionHash": "0xf79d96d5f3d5c82088cd79ad5fc5c5bbe9c8c805221e30041133b69b49162866",34"transactionIndex": "0x0",35"type": "0x0"36},37{38"blockHash": "0x97b49e43632ac70c46b4003434058b18db0ad809617bd29f3448d46ca9085576",39"blockNumber": "0xc5043f",40"contractAddress": "0xf7ae43fabe91b091e3bae07d91b5c8758e97c12b",41"cumulativeGasUsed": "0x33a84",42"effectiveGasPrice": "0x4a817c800",43"from": "0x81b7e08f65bdf5648606c89998a9cc8164397647",44"gasUsed": "0x123b4",45"logs": [46{47"address": "0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f",48"topics": [49"0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9",50"0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",51"0x000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"52],53"data": "0x000000000000000000000000f7ae43fabe91b091e3bae07d91b5c8758e97c12b00000000000000000000000081b7e08f65bdf5648606c89998a9cc8164397647",54"blockNumber": "0xc5043f",55"transactionHash": "0x950395ad0360cb32373c86cc9ff0169cc2aaaa04f9dd42a3ab6aa8b47d3cb2cf",56"transactionIndex": "0x1",57"blockHash": "0x97b49e43632ac70c46b4003434058b18db0ad809617bd29f3448d46ca9085576",58"logIndex": "0x1",59"removed": false60}61],62"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",63"status": "0x1",64"to": "0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f",65"transactionHash": "0x950395ad0360cb32373c86cc9ff0169cc2aaaa04f9dd42a3ab6aa8b47d3cb2cf",66"transactionIndex": "0x1",67"type": "0x0"68}69]70}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"blockHash": "0x97b49e43632ac70c46b4003434058b18db0ad809617bd29f3448d46ca9085576",7"blockNumber": "0xc5043f",8"contractAddress": null,9"cumulativeGasUsed": "0x21000",10"effectiveGasPrice": "0x4a817c800",11"from": "0x8894e0a0c962cb723c1976a4421c95949be2d4e3",12"gasUsed": "0x21000",13"logs": [14{15"address": "0x6b175474e89094c44da98b954eedeac495271d0f",16"topics": [17"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",18"0x0000000000000000000000008894e0a0c962cb723c1976a4421c95949be2d4e3",19"0x0000000000000000000000002c46b28e4bac6b0188baf722f17f5f36e2170330"20],21"data": "0x000000000000000000000000000000000000000000000000058d15e176280000",22"blockNumber": "0xc5043f",23"transactionHash": "0xf79d96d5f3d5c82088cd79ad5fc5c5bbe9c8c805221e30041133b69b49162866",24"transactionIndex": "0x0",25"blockHash": "0x97b49e43632ac70c46b4003434058b18db0ad809617bd29f3448d46ca9085576",26"logIndex": "0x0",27"removed": false28}29],30"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",31"status": "0x1",32"to": "0x6b175474e89094c44da98b954eedeac495271d0f",33"transactionHash": "0xf79d96d5f3d5c82088cd79ad5fc5c5bbe9c8c805221e30041133b69b49162866",34"transactionIndex": "0x0",35"type": "0x0"36},37{38"blockHash": "0x97b49e43632ac70c46b4003434058b18db0ad809617bd29f3448d46ca9085576",39"blockNumber": "0xc5043f",40"contractAddress": "0xf7ae43fabe91b091e3bae07d91b5c8758e97c12b",41"cumulativeGasUsed": "0x33a84",42"effectiveGasPrice": "0x4a817c800",43"from": "0x81b7e08f65bdf5648606c89998a9cc8164397647",44"gasUsed": "0x123b4",45"logs": [46{47"address": "0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f",48"topics": [49"0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9",50"0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",51"0x000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"52],53"data": "0x000000000000000000000000f7ae43fabe91b091e3bae07d91b5c8758e97c12b00000000000000000000000081b7e08f65bdf5648606c89998a9cc8164397647",54"blockNumber": "0xc5043f",55"transactionHash": "0x950395ad0360cb32373c86cc9ff0169cc2aaaa04f9dd42a3ab6aa8b47d3cb2cf",56"transactionIndex": "0x1",57"blockHash": "0x97b49e43632ac70c46b4003434058b18db0ad809617bd29f3448d46ca9085576",58"logIndex": "0x1",59"removed": false60}61],62"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",63"status": "0x1",64"to": "0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f",65"transactionHash": "0x950395ad0360cb32373c86cc9ff0169cc2aaaa04f9dd42a3ab6aa8b47d3cb2cf",66"transactionIndex": "0x1",67"type": "0x0"68}69]70}