For information on pending and queued transactions and how an Ethereum node processes them, see Difference between pending and queued transactions on an Ethereum node.
All listed commands are done in a Geth console. See Chainstack Docs: Ethereum tools.
To get all pending transactions submitted through the node and pending in the node's pool:
To get the number of all global pending and queued transactions in the local pool of your Ethereum node, run:
To get summarized details of all global pending and queued transactions in the local pool, run:
To get complete details on all global pending and queued transactions in the local pool, run:
To get the total number of transactions from an account included in blocks, run:
To get the account nonce of a transaction, run:
The txpool namespace is only available for dedicated Ethereum nodes. See also API namespaces available for a public Ethereum node.