Parameters
- hashstringREQUIRED
The hash of a transaction
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
- codeFormatstring
(Optional) The code format of smart contract code
- contractAddressstring
The contract address created, if the transaction was a contract creation, otherwise null
- feePayerstring
(Optional) The address of the fee payer
- 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
- feeRatiostring
The fee ratio of the fee payer. If it is 30, 30% of the fee will be paid by the fee payer. 70% will be paid by the sender
- fromstring
The address of the sender
- gasstring
The gas provided by the sender, encoded as hexadecimal
- effectiveGasPricestring
The actual value per gas deducted from the senders account
- gasPricestring
The gas price provided by the sender in wei, encoded as hexadecimal
- gasUsedstring
The amount of gas used by this specific transaction alone
- humanReadableboolean
(Optional) It is true if the address is humanReadable, false if the address is not humanReadable
- keystring
(Optional) The key of the newly created account
- inputstring
The data sent along with the transaction
- logsarray
An array of log objects that generated this transaction
- addressstring
The address from which this log was generated
- 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
The 32 byte non-indexed argument of the log
- blockNumberstring
The block number where this log was in
- transactionHashstring | null
The hash of the transaction from which this log was created from. null if the log is pending
- transactionIndexstring | null
The transactions index position from which this log was created from. null if the log is pending
- blockHashstring
The hash of the block where this log was in
- logIndexstring | null
The integer of log index position in the block encoded as hexadecimal. null if the log is pending
- removedstring
It is true if log was removed, due to a chain reorganization and false if it's a valid log
- logsBloomstring
The bloom filter which is used to retrive related logs
- 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
- statusstring
It is either 1 (success) or 0 (failure) encoded as a hexadecimal
- txErrorstring
(Optional) The detailed error code if status is equal to zero
- tostring | null
The address of the receiver. null when it's a contract creation transaction
- transactionHashstring
The hash of the transaction
- transactionIndexstring
The transactions index position in the block encoded as a hexadecimal
- valuestring
The value transferred in wei encoded as hexadecimal
- typestring
The transaction type
- typeIntinteger
The integer representation of the transaction type