Skip to main content

txpool_status RPC Method

Returns the number of transactions in pending and queued states (Supported only on Geth).

Updated on
Sep 23, 2024

txpool_status RPC Method

Parameters

This method does not accept any parameters

Returns

object
The transaction call object which contains the following fields:
pending
The total number of pending transactions in the txpool, represented in hexadecimal format
queued
The total number of queued transactions in the txpool, represented in hexadecimal format
Request
1
curl https://docs-demo.omni-omega.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"txpool_status","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