Docs

txpool_content - Ink RPC Method

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

Returns the full pending and queued transaction pool for the connected Ink 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 Ink? Build on Kraken's DeFi-focused Ethereum L2 built on the OP Stack and connected to the Optimism Superchain with 1s block times, ETH gas, Kraken-backed infrastructure, OP Stack compatibility, and Superchain interoperability.

When to Use This Method

txpool_content is useful for Ink developers, DeFi builders, and teams deploying Solidity applications on the Superchain:

  • 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

Best Practices

  • Response can be very large on congested networks; be prepared to handle large payloads
  • Use txpool_status for summary statistics instead when you do not need full content
  • Filter results client-side for specific addresses of interest to reduce noise
  • This is a non-standard method; many shared endpoints disable this for performance reasons

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