Docs

txpool_status - MegaETH RPC Method

Inspect pending and queued transaction counts in the MegaETH transaction pool. Useful for mempool monitoring, congestion analysis, and node health checks.

Returns transaction pool counters for the connected MegaETH 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_status is 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 MegaETH? Build on the first real-time blockchain with sub-millisecond latency and 100,000+ TPS with sub-millisecond transaction streaming with 100,000+ sustained TPS and full EVM compatibility.

When to Use This Method

txpool_status is valuable for high-frequency DeFi developers, gaming studios, and teams building real-time applications:

  • 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

Code Examples

Error Handling

Error CodeMessageDescription
-32601Method not foundThe endpoint does not expose txpool methods
-32603Internal errorThe node rejected or failed to process the request