Parameters
- blockNumberstringREQUIRED
The block number in hexadecimal format, or one of the string tags:
latest,earliest, orpending.
Returns
- receiptsarray
An array of transaction receipt objects for all transactions in the block.
- blockHashstring
The hash of the block containing this transaction.
- blockNumberstring
The block number containing this transaction, encoded as a hexadecimal.
- 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's account.
- fromstring
The address of the sender.
- gasUsedstring
The amount of gas used by this specific transaction.
- logsarray
An array of log objects generated by this transaction.
- addressstring
The address from which this log originated.
- topicsarray
An array of 0 to 4 32-byte DATA of indexed log arguments.
- datastring
Contains one or more 32-byte non-indexed arguments of the log.
- blockNumberstring
The block number where this log was in, encoded as a hexadecimal.
- transactionHashstring
The hash of the transaction this log was created from.
- transactionIndexstring
The integer of the transaction's index position in the block.
- blockHashstring
The hash of the block where this log was in.
- logIndexstring
The integer of the log index position in the block.
- removedboolean
True if the log was removed due to a chain reorganization. False if it's a valid log.
- logsBloomstring
The bloom filter for the logs of the block.
- statusstring
Either 1 (success) or 0 (failure).
- tostring
The address of the receiver. null when it's a contract creation transaction.
- transactionHashstring
The hash of the transaction.
- transactionIndexstring
The integer of the transaction's index position in the block.
- typestring
The transaction type.