txpool_status-polygon

The status inspection property can be queried for the number of transactions currently pending for inclusion in the next block(s), as well as the ones that are being scheduled for future execution only. The result is an object with two fields pending and queued, each of which is a counter representing the number of transactions in that particular state.

Log in to see full request history

Parameters

  • No parameters are needed.
curl https://polygon-mainnet-archive.allthatnode.com/8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj \ --request POST \ --header "Content-Type: application/json" \ --data '{ "jsonrpc":"2.0", "id":1, "method":"txpool_status", "params":[] }'

Returns

  • OBJECT - with following fields:
    • pending - Total number of pending transactions in the pool, represented in hexadecimal format.
    • queued - Total number of queued transactions in the pool, represented in hexadecimal format.
{ "jsonrpc": "2.0", "id": 1, "result": { "baseFee": "0x897", "pending": "0x264b", "queued": "0x752e" } }

Try Yourself

Path Params
string
required
Defaults to 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj
Body Params
string
required
Defaults to 1
string
required
Defaults to 2.0
string
required
Defaults to txpool_status
Language
Click Try It! to start a request and see the response here!