txpool_status - Moonbeam RPC Method
Inspect pending and queued transaction counts in the Moonbeam transaction pool. Useful for mempool monitoring, congestion analysis, and node health checks.
Returns transaction pool counters for the connected Moonbeam endpoint. The result separates transactions that are immediately processable (pending) from those waiting on an earlier nonce or other prerequisite (queued).
Non-standard method.
txpool_statusis a Geth-style mempool inspection method. It is not part of the core Ethereum Execution API method set, and many shared RPC endpoints disable it.
Why Moonbeam? Build on the cross-chain connected EVM platform on Polkadot with $65M+ TVL and 100+ projects with full EVM compatibility on Polkadot, native XCM cross-chain messaging, 10K+ TPS, 24% staking APR, and $0.015 transaction costs.
When to Use This Method
txpool_status is valuable for cross-chain dApp developers, Polkadot builders, and teams requiring multi-chain interoperability:
- Mempool Monitoring — Watch pending versus queued pressure on a node
- Congestion Signals — Detect bursts of transaction backlog before they show up in block-level metrics
- Node Health Checks — Confirm a node is accepting and classifying new transactions as expected
- Operational Dashboards — Surface lightweight txpool counters without pulling full transaction content
Request Parameters
This method accepts no parameters.
Response Body
Number of processable transactions currently in the pool
Number of transactions waiting on an earlier prerequisite such as nonce order
Error Responses
Code Examples
curl -X POST https://api-moonbeam.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "txpool_status",
"params": [],
"id": 1
}'Error Handling
| Error Code | Message | Description |
|---|---|---|
| -32601 | Method not found | The endpoint does not expose txpool methods |
| -32603 | Internal error | The node rejected or failed to process the request |
Related Methods
txpool_content- Inspect the full pending and queued transaction mapseth_blockNumber- Track block production alongside mempool pressureeth_gasPrice- Compare congestion signals with fee estimates
eth_protocolVersion
Get the current Ethereum protocol version on Moonbeam. Useful for client compatibility checks and identifying version-gated features.
txpool_content
Inspect the full pending and queued transaction pool on Moonbeam. Useful for mempool analytics, transaction replacement debugging, and operational monitoring.