Parameters
- blockHashstringREQUIRED
The block hash
- 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:
- typestring
The transaction type
- chainIdstring
The chain id of the transaction, if any
- noncestring
The number of transactions made by the sender before this one encoded as hexadecimal
- gasPricestring
The gas price provided by the sender in wei, encoded as hexadecimal
- gasstring
The gas provided by the sender, encoded as hexadecimal
- tostring | null
The address of the receiver. null when it's a contract creation transaction
- valuestring
The value transferred in wei encoded as hexadecimal
- inputstring
The data sent along with the transaction
- rstring
The R field of the signature
- sstring
The S field of the signature
- vstring
The standardized V field of the signature
- hashstring
The hash of the transaction
- 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 transaction was in, encoded as a hexadecimal. null when it is a pending transaction
- transactionIndexstring | null
The integer of the transaction's index position that the log was created from. null when it's a pending log
- fromstring
The address of the sender