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