txpool_content RPC Method
Parameters
This method does not accept any parameters
Returns
array
array
A list of pending and queued transactions, with each having the following fields:
pending
array
An array of transaction objects, with following fields:
address
string
The address initiating a transaction
nonce
string
The nonce of the sending address
blockHash
string
The hash of the block where this transaction was in, null here
blockNumber
string
The block number where this transaction was added encoded as a hexadecimal, null here
from
string
The address of the sender
gas
string
The total amount of gas units used in the transaction
gasPrice
string
The total amount in wei the sender is willing to pay for the transaction
maxFeePerGas
string
The maximum amount of gas willing to be paid for the transaction
maxPriorityFeePerGas
string
The maximum amount of gas to be included as a tip to the miner
hash
string
The hash of the transaction
input
string
The encoded transaction input data
nonce
string
The number of transactions the sender has sent till now
to
string
The address of the receiver. null when its a contract creation transaction
transactionIndex
string
An integer of the transactions index position in the block encoded as a hexadecimal format
value
string
The value transferred in Wei encoded as a hexadecimal format
type
string
A number between 0 and 0x7f, for a total of 128 possible transaction types
accesslist
array
A list of addresses and storage keys that the transaction plans to access, introduced in EIP-2929
chainId
string
It returns a hexadecimal value in string format which represents an integer of the chain ID
v
string
The ECDSA recovery id encoded as a hexadecimal format
r
string
The ECDSA signature r
s
string
The ECDSA signature s
yParity
string
The yParity field
queued
array
An array of transaction objects, with following fields:
address
string
The address initiating a transaction
nonce
string
The nonce of the sending address
blockHash
string
The hash of the block where this transaction was in, null here
blockNumber
string
The block number where this transaction was added encoded as a hexadecimal, null here
from
string
The address of the sender
gas
string
The total amount of gas units used in the transaction
gasPrice
string
The total amount in wei the sender is willing to pay for the transaction
maxFeePerGas
string
The maximum amount of gas willing to be paid for the transaction
maxPriorityFeePerGas
string
The maximum amount of gas to be included as a tip to the miner
hash
string
The hash of the transaction
input
string
The encoded transaction input data
nonce
string
The number of transactions the sender has sent till now
to
string
The address of the receiver. null when its a contract creation transaction
transactionIndex
string
An integer of the transactions index position in the block encoded as a hexadecimal format
value
string
The value transferred in Wei encoded as a hexadecimal format
type
string
A number between 0 and 0x7f, for a total of 128 possible transaction types
accesslist
array
A list of addresses and storage keys that the transaction plans to access, introduced in EIP-2929
chainId
string
It returns a hexadecimal value in string format which represents an integer of the chain ID
v
string
The ECDSA recovery id encoded as a hexadecimal format
r
string
The ECDSA signature r
s
string
The ECDSA signature s
yParity
string
The yParity field
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free