Thredu
moneydeskCrypto

What is a mempool, and what happens to a transaction before it's confirmed?

When you send a crypto transaction, it doesn't go straight into a block. It first waits in the "mempool," short for memory pool: the set of valid but unconfirmed transactions that nodes are holding.

The journey of a transaction

  1. Your wallet signs the transaction and broadcasts it to nodes.
  2. Each node checks it is valid and adds it to its own mempool. There's no single global mempool; each node has its own view.
  3. Block producers (miners or validators) pick transactions to include, usually favoring higher fees.
  4. Once included in a block, it's confirmed, and nodes remove it from their mempools.

Why transactions get stuck

  • The fee was too low compared with others during busy periods.
  • The network is congested.
  • A dependency, like an earlier transaction from the same account, is itself stuck.

Options some networks support

  • Replace-by-fee: rebroadcasting the same transaction with a higher fee.
  • Child-pays-for-parent: spending an output of the stuck transaction with a high fee, encouraging miners to include both.
  • Expiration: nodes may eventually drop old unconfirmed transactions.

A side effect worth knowing Because pending transactions are visible, some actors try to profit from seeing them first, a practice often discussed under the term MEV (maximal extractable value).

Have you ever had a transaction stuck for hours? How did you resolve it?

Comments · 0

No replies yet — start the conversation.