Parameters
- blockNumberstringREQUIRED
The block number as a string in hexadecimal format or tags. The supported tag values include earliest for the earliest/genesis block, latest for the latest mined block, pending for the pending state/transactions, safe for the most recent secure block, and finalized for the most recent secure block accepted by more than 2/3 of validators
- indexstringREQUIRED
An integer of the transaction index position encoded as a hexadecimal
Returns
- objectobject | null
The transaction response object, or null if no transaction is found:
- blockHashstring | null
The hash of the block where this log was in. null when it's a pending log
- blockNumberstring | null
The block number where this log was in. null when it's a pending log
- feePayerstring
The address of the entity that paid the transaction fee
- feePayerSignaturesarray
The signatures provided by the fee payer for this transaction
- vstring
The recovery ID of the digital signature
- rstring
The first 32 bytes of the digital signature
- sstring
The second 32 bytes of the digital signature
- 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
- senderTxHashstring
The hash of the sender's transaction
- signaturesarray
The signatures provided by the sender for this transaction.
- vstring
The recovery ID of the digital signature
- rstring
The first 32 bytes of the digital signature
- sstring
The second 32 bytes of the digital signature
- tostring | null
The address of the receiver. null when it's a contract creation transaction
- transactionIndexstring | null
The integer of the transaction's index position that the log was created from, encoded as hexadecimal. null when it's a pending log
- valuestring
The value transferred in wei encoded as hexadecimal
- typestring
The transaction type
- typeIntinteger
The integer representation of the transaction type