Docs
Supported ChainsLineaJSON-RPC APITxpool Methods

txpool_content - Linea RPC Method

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

Returns the full pending and queued transaction pool for the connected Linea 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 Linea? Build on Consensys-backed zkEVM L2 with $1B+ TVL and 807% growth in 2025 with 15-30x lower fees than Ethereum mainnet, 6,200 TPS throughput, SWIFT integration with 12+ institutions, and $725M Consensys backing.

When to Use This Method

txpool_content is useful for enterprise developers, DeFi builders, and teams seeking Consensys ecosystem integration:

  • 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-linea-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