Mempool configurations

Mempool, also known as the memory pool, transaction pool or txpool, is a dynamic, in-memory space for transactions awaiting block inclusion. Rather than a single, unified pool, each node maintains its own transaction pool, collectively constituting the global memory. This constantly changing dataset, containing thousands of pending transactions, represents millions of dollars in flux at any given moment.

Mempool configurations vary wildly across different protocols & node client configurations.

The table here is a maintained reference of mempool configurations & specifics across all the protocols that Chainstack supports.

The table structure:

  • Protocol — protocol name.
  • Protocol availability — details of the mempool availability on the protocol level.
  • Chainstack availability — how to access the protocol's mempool on Chainstack.
  • Client configuration — the default node client configuration for the mempool as deployed at Chainstack.
  • Example — a simple curl example. Remember to replace YOUR_CHAINSTACK_NODE with your Chainstack node endpoint for that particular protocol.

Remember that whatever the default configuration, we can always customize it for you on a dedicated node 💙🛠️.

ProtocolProtocol availabilityChainstack availabilityClient configurationExample
EthereumAvailable to everyoneArchive with Debug and trace APIs4096 pending transactionsEthereum txpool_content
PolygonAvailable to everyoneArchive with Debug and trace APIs4096 pending transactionsPolygon txpool_content
BNB Smart ChainAvailable to everyoneArchive with Debug and trace APIs4096 pending transactionsBSC txpool_content
BasePrivate to Sequencer.N/AN/AN/A
AvalancheAvailable only to validators.Not available on ChainstackN/AN/A
TONExternal messages are available in mempoolAvailable
ArbitrumNo mempool. Only Sequencer FIFO.N/AN/AN/A
zkSync EraSequencer onlyN/AN/AN/A
Polygon zkEVMSequencer onlyN/AN/AN/A
OptimismPrivate to SequencerN/AN/AN/A
Oasis SaphireConfidential mempoolN/AN/AN/A
NEARNo mempoolN/AN/AN/A
AuroraNo mempoolN/AN/AN/A
SolanaNo mempoolN/AN/AN/A
ScrollPublicly available through Sequencer.N/AN/AN/A
RoninAvailable to everyoneNot available on ChainstackN/AN/A
AptosAvailable to everyone but there is no transaction streamFull or archive node deploymentN/AN/A
Gnosis ChainAvailable to everyoneOn a dedicated node.Any configurationGnosis txpool_content
CronosNo mempool. Only Sequencer FIFO.N/AN/AN/A
FilecoinAvailable to everyoneFull node deployment20,000 pending messagesFilecoin MpoolPending
FantomAvailable to everyoneOn a dedicated node.4096 pending transactionsFantom txpool_content
StarknetPrivate to SequencerN/AN/AN/A
TezosAvailable to everyoneFull or archive node deployment240 blocksTezos pending_operations
BitcoinAvailable to everyoneFull node deploymentmempool size: 300 MB
mempool tx expiry: 336 hours (14 days)
Bitcoin getrawmempool

Ethereum txpool_content

curl -X POST \
     -H "Content-Type: application/json" \
     --data '{"jsonrpc":"2.0","method":"txpool_content","params":[],"id":1}' \
     YOUR_CHAINSTACK_NODE

Polygon txpool_content

curl -X POST \
     -H "Content-Type: application/json" \
     --data '{"jsonrpc":"2.0","method":"txpool_content","params":[],"id":1}' \
     YOUR_CHAINSTACK_NODE

BSC txpool_content

curl -X POST \
     -H "Content-Type: application/json" \
     --data '{"jsonrpc":"2.0","method":"txpool_content","params":[],"id":1}' \
     YOUR_CHAINSTACK_NODE

Gnosis txpool_content

curl -X POST \
     -H "Content-Type: application/json" \
     --data '{"jsonrpc":"2.0","method":"txpool_content","params":[],"id":1}' \
     YOUR_CHAINSTACK_NODE

Filecoin MpoolPending

curl -X POST \
     -H "Content-Type: application/json" \
     --data '{ "jsonrpc": "2.0", "method": "Filecoin.MpoolPending", "params": [null], "id": 1 }' \
     YOUR_CHAINSTACK_NODE

Fantom txpool_content

curl -X POST \
     -H "Content-Type: application/json" \
     --data '{"jsonrpc":"2.0","method":"txpool_content","params":[],"id":1}' \
     YOUR_CHAINSTACK_NODE

Tezos pending_operations

curl -X GET "YOUR_CHAINSTACK_NODE/chains/main/mempool/pending_operations"

Bitcoin getrawmempool

curl -X POST \
     -H "Content-Type: application/json" \
     --data '{"jsonrpc": "2.0", "id":"curltest", "method": "getrawmempool", "params": [] }' \
     YOUR_CHAINSTACK_NODE

Ake

🛠️ Developer Experience Director @ Chainstack
💸 Talk to me all things Web3 infrastructure and I'll save you the costs
Ake | Warpcast Ake | GitHub Ake | Twitter Ake | LinkedIN