Skip to Content
BXN Docs
JSON-RPC API

txpool

Transactions waiting to be included in a block.

Besu has its own txpool methods. The Geth methods txpool_content and txpool_inspect do not exist on BXN.

MethodReturns
txpool_statusCount of pending and queued transactions
txpool_besuStatisticsPool size limit and counts of local and remote transactions
txpool_besuTransactionsHash and time added for every transaction in the pool
txpool_besuPendingTransactionsFull pending transactions. Takes a limit and an optional filter

Example

curl -s -X POST https://rpc.blackfort.network/mainnet/rpc \
  -H 'Content-Type: application/json' \
  --data '{"jsonrpc":"2.0","method":"txpool_status","params":[],"id":1}'
{"jsonrpc":"2.0","id":1,"result":{"pending":"0xd3","queued":"0xc7f"}}

Get up to 10 pending transactions sent from one address:

curl -s -X POST https://rpc.blackfort.network/mainnet/rpc \
  -H 'Content-Type: application/json' \
  --data '{"jsonrpc":"2.0","method":"txpool_besuPendingTransactions","params":[10,{"from":{"eq":"0xYourAddress"}}],"id":1}'

On this page