Skip to main content

klay_pendingTransactions RPC Method

Returns the transactions that are in the transaction pool and have a from address that is one of the accounts this node manages.

Updated on
Aug 7, 2024

klay_pendingTransactions RPC Method

Parameters

This method does not accept any parameters

Returns

object
object
The transaction response object, or null if no transaction is found:
type
string
The transaction type
nonce
string
The number of transactions made by the sender prior to this one encoded as hexadecimal
gasPrice
string
The gas price provided by the sender in wei, encoded as hexadecimal
maxFeePerGas
The maximum fee per gas set in the transaction
maxPriorityFeePerGas
The maximum priority gas fee set in the transaction
gas
string
The gas provided by the sender, encoded as hexadecimal
value
string
The value transferred in wei encoded as hexadecimal
accessList
array
A list of addresses and storage keys that the transaction plans to access
chainId
string
The chain id of the transaction, if any
v
string
The standardized V field of the signature
r
string
The R field of the signature
s
string
The S field of the signature
hash
string
The hash of the transaction
Request
1
curl https://docs-demo.kaia-kairos.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"klay_pendingTransactions","params":[],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free