Skip to main content

txpool_status

Returns an object containing the count of transactions currently pending for inclusion in the next block(s), as well as ones that are scheduled for future execution (transactions with nonce gaps).

Returns the number of pending and queued transactions in the pool.

Parameters (by position)

This method does not accept any parameters.

Result

Transaction pool status object

The number of pending and queued transactions in the pool.


Show Transaction pool status object

Transaction pool status fields

  • pending string required

    Number of transactions ready for inclusion in the next block(s)

    Match pattern: ^0x(0|[1-9a-f][0-9a-f]*)$


  • queued string required

    Number of transactions with nonce gaps awaiting preceding transactions before they can be executed

    Match pattern: ^0x(0|[1-9a-f][0-9a-f]*)$


  • additionalProperties true


Examples

txpool_status example

Request

{
"params": []
}

Response

{
"pending": "0xa",
"queued": "0x7"
}