Skip to main content

kaia_getTransactionReceiptBySenderTxHash RPC Method

Returns the receipt of a transaction by transaction hash.

Updated on
Aug 07, 2024
Please note that transaction receipts are not available for pending transactions.

Parameters

hash
string
REQUIRED

The hash of a transaction before signing of feePayer(senderTransactionHash)

Returns

object
object | null

The transaction response object, or null if no transaction is found:

blockHash
string | null

The hash of the block where this log was in. null when it's a pending log

blockNumber
string | null

The block number where this log was in. null when it's a pending log

codeFormat
string

(Optional) The code format of smart contract code

contractAddress
string

The contract address created, if the transaction was a contract creation, otherwise null

feePayer
string

(Optional) The address of the fee payer

feePayerSignatures
array

The signatures provided by the fee payer for this transaction

v
string

The recovery ID of the digital signature

r
string

The first 32 bytes of the digital signature

s
string

The second 32 bytes of the digital signature

feeRatio
string

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

from
string

The address of the sender

gas
string

The gas provided by the sender, encoded as hexadecimal

effectiveGasPrice
string

The actual value per gas deducted from the senders account

gasPrice
string

The gas price provided by the sender in wei, encoded as hexadecimal

gasUsed
string

The amount of gas used by this specific transaction alone

humanReadable
boolean

(Optional) It is true if the address is humanReadable, false if the address is not humanReadable

key
string

(Optional) The key of the newly created account

input
string

The data sent along with the transaction

logs
array

An array of log objects that generated this transaction

address
string

The address from which this log was generated

topics
array

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

data
string

The 32 byte non-indexed argument of the log

blockNumber
string

The block number where this log was in

transactionHash
string | null

The hash of the transaction from which this log was created from. null if the log is pending

transactionIndex
string | null

The transactions index position from which this log was created from. null if the log is pending

blockHash
string

The hash of the block where this log was in

logIndex
string | null

The integer of log index position in the block encoded as hexadecimal. null if the log is pending

removed
string

It is true if log was removed, due to a chain reorganization and false if it's a valid log

logsBloom
string

The bloom filter which is used to retrive related logs

nonce
string

The number of transactions made by the sender prior to this one encoded as hexadecimal

senderTxHash
string

The hash of the sender's transaction

signatures
array

The signatures provided by the sender for this transaction.

v
string

The recovery ID of the digital signature

r
string

The first 32 bytes of the digital signature

s
string

The second 32 bytes of the digital signature

status
string

It is either 1 (success) or 0 (failure) encoded as a hexadecimal

txError
string

(Optional) The detailed error code if status is equal to zero

to
string | null

The address of the receiver. null when it's a contract creation transaction

transactionHash
string

The hash of the transaction

transactionIndex
string

The transactions index position in the block encoded as a hexadecimal

value
string

The value transferred in wei encoded as hexadecimal

type
string

The transaction type

typeInt
integer

The integer representation of the transaction type

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free