Docs
Supported ChainsPolygonJSON-RPC APITxpool Methods

txpool_content - Polygon RPC Method

Inspect the full pending and queued transaction pool on Polygon. Useful for mempool analytics, transaction replacement debugging, and operational monitoring.

Returns the full pending and queued transaction pool for the connected Polygon endpoint. Transactions are grouped first by sender address and then by nonce.

Non-standard method. txpool_content 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 because of response size and sensitivity concerns.

Why Polygon? Build on the most adopted Ethereum scaling solution with 45,000+ dApps and enterprise partnerships with $4B+ TVL, sub-$0.01 transactions, 8M+ daily transactions, and zkEVM for enhanced security.

When to Use This Method

txpool_content is useful for enterprise developers, gaming studios, and teams building high-throughput 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

Request

This method accepts no parameters.

Response Body

Response
pendingObject

Address-indexed map of processable transactions grouped by nonce

queuedObject

Address-indexed map of non-processable transactions grouped by nonce

Error Responses

Errors
Error Response-32601

Code Examples

Bash
curl -X POST https://api-polygon-mainnet-full.n.dwellir.com/YOUR_API_KEY \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "txpool_content",
    "params": [],
    "id": 1
  }'

Error Handling

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