Parameters
- blockNumberstringREQUIRED
The block number in hexadecimal format or the string latest, earliest, pending, safe or finalized
Returns
- resultarray
An array of transaction receipt objects
- blockHashstring | null
The hash of the block. null when pending
- blockNumberstring
The block number in hexadecimal format
- contractAddressstring | null
(Optional) 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, in hexadecimal format
- 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, in hexadecimal format
- logsarray
Array of log objects that were generated during this transaction
- addressstring
The contract address that generated this log
- topicsarray
Array of 0 to 4 32-byte strings. The first topic is usually the signature hash of the event
- datastring
Contains the 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
The index position of the transaction in the block, in hexadecimal format
- blockHashstring | null
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, in hexadecimal format
- removedboolean
True when the log was removed due to a chain reorganization, false if its a valid log
- logsBloomstring
A 256-byte bloom filter for light clients to quickly retrieve related logs
- statusstring
Either 0x1 (success) or 0x0 (failure)
- tostring | null
The address of the receiver. null when its a contract creation transaction
- transactionHashstring
The hash of the transaction
- transactionIndexstring
The index position of the transaction in the block, in hexadecimal format
- typestring
The transaction type in hexadecimal format (0x0 for legacy, 0x1 for EIP-2930, 0x2 for EIP-1559)
1{2"jsonrpc": "2.0",3"id": 1,4"result": []5}
1{2"jsonrpc": "2.0",3"id": 1,4"result": []5}