kaia_getTransactionByHash RPC Method
Parameters
hash
string
REQUIRED
The hash of a transaction
Returns
object
object
The transaction response object, or null if no transaction is found:
blockHash
string
The hash of the block where this log was in. null when it's a pending log
blockNumber
string
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
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
gasPrice
string
The gas price provided by the sender in wei, encoded as hexadecimal
hash
string
The hash of the transaction
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
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
to
string
The address of the receiver. null when it's a contract creation transaction
transactionIndex
string
The integer of the transaction's index position that the log was created from. null when it's a pending log
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
1curl https://docs-demo.kaia-kairos.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"kaia_getTransactionByHash","params":["0xbaa92666283cce8708a0c726d5f2983d6dc206dd583d971bb7a86caa809753bd"],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free