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
The hash of the block. null when 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
- depositNoncestring
The nonce of the deposit transaction (only present for deposit transactions)
- depositReceiptVersionstring
The version of the deposit receipt format (only present for deposit transactions)
- 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
- l1Feestring
The total fee paid for L1 data and execution (only present for L2 transactions)
- l1GasPricestring
The gas price on L1 at the time of the transaction (only present for L2 transactions)
- l1GasUsedstring
The amount of gas used on L1 for this transaction (only present for L2 transactions)
- 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
The block number where this log was in. null when its a pending log
- transactionHashstring
The hash of the transactions this log was created from. null when its a pending log
- transactionIndexstring
The index position of the transaction in the block
- blockHashstring
The hash of the block where this log was in. null when its a pending log
- logIndexstring
The index position of the log in the block
- 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
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 transaction type (e.g., 0x2 for EIP-1559, 0x7e for deposit transactions)
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"blockHash": "0x59f2c4d45506b65cd78a01044844253c0853495ebd3de110172029af31fbc262",7"blockNumber": "0x1e73817",8"contractAddress": null,9"cumulativeGasUsed": "0xabbe",10"depositNonce": "0x1e73817",11"depositReceiptVersion": "0x1",12"effectiveGasPrice": "0x0",13"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",14"gasUsed": "0xabbe",15"logs": [],16"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",17"status": "0x1",18"to": "0x4200000000000000000000000000000000000015",19"transactionHash": "0xe630ec479ad59f2d2edd7b8811a4c7c9d7e1e544236cc619dec3e1d44424dc3a",20"transactionIndex": "0x0",21"type": "0x7e"22}23]24}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"blockHash": "0x59f2c4d45506b65cd78a01044844253c0853495ebd3de110172029af31fbc262",7"blockNumber": "0x1e73817",8"contractAddress": null,9"cumulativeGasUsed": "0xabbe",10"depositNonce": "0x1e73817",11"depositReceiptVersion": "0x1",12"effectiveGasPrice": "0x0",13"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",14"gasUsed": "0xabbe",15"logs": [],16"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",17"status": "0x1",18"to": "0x4200000000000000000000000000000000000015",19"transactionHash": "0xe630ec479ad59f2d2edd7b8811a4c7c9d7e1e544236cc619dec3e1d44424dc3a",20"transactionIndex": "0x0",21"type": "0x7e"22}23]24}