Docs
Supported ChainsCeloJSON-RPC APITxpool Methods

txpool_content - Celo RPC Method

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

Returns the full pending and queued transaction pool for the connected Celo 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 Celo? Build on the mobile-first L2 powering 500K+ daily active users and $2B+ monthly stablecoin volume with phone number-based addressing, sub-cent fees, 150+ country adoption, Nightfall privacy layer, and Opera browser integration.

When to Use This Method

txpool_content is useful for mobile payment developers, fintech builders, and teams targeting emerging markets:

  • 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-celo-mainnet-archive.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