txpool_content - MegaETH RPC Method
Inspect the full pending and queued transaction pool on MegaETH. Useful for mempool analytics, transaction replacement debugging, and operational monitoring.
Returns the full pending and queued transaction pool for the connected MegaETH endpoint. Transactions are grouped first by sender address and then by nonce.
Non-standard method.
txpool_contentis 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 because of response size and sensitivity concerns.
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_content is useful for high-frequency DeFi developers, gaming studios, and teams building real-time applications:
- Replacement Transaction Debugging — Inspect multiple transactions with the same sender and nonce
- Mempool Analytics — Analyze which accounts dominate pending flow and how backlogs are distributed
- Relayer Operations — Verify whether submitted transactions are still pending, queued, or replaced
- Fee Strategy Tuning — Inspect real mempool fee levels and transaction types across the pending pool
Request Parameters
This method accepts no parameters.
Response Body
Address-indexed map of processable transactions grouped by nonce
Address-indexed map of non-processable transactions grouped by nonce
Error Responses
Code Examples
curl -X POST https://api-megaeth-mainnet.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "txpool_content",
"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_status- Retrieve only pending and queued counterseth_getTransactionByHash- Inspect a single transaction after you identify it in the mempooleth_sendRawTransaction- Broadcast signed transactions to the network
txpool_status
Inspect pending and queued transaction counts in the MegaETH transaction pool. Useful for mempool monitoring, congestion analysis, and node health checks.
eth_mining
Check the legacy eth_mining compatibility method on MegaETH. Public endpoints often return a client-specific unsupported-method response instead of a boolean.