Glossary

Pending Transaction

A pending transaction is an unconfirmed payment that has been broadcast to a blockchain network but has not yet been included in a block by a miner or validator.

Key Takeaways

  • A pending transaction has been broadcast to the network but not yet confirmed: it sits in the mempool waiting for a miner or validator to include it in a block.
  • Transactions get stuck when fees are too low relative to demand: techniques like Replace-by-Fee (RBF) and Child-Pays-for-Parent (CPFP) let users unstick them by increasing the effective fee.
  • Confirmation speed varies dramatically across chains: Bitcoin averages 10 minutes per block, Ethereum produces blocks every 12 seconds, and Layer 2 networks like Spark offer instant finality with no pending state at all.

What Is a Pending Transaction?

A pending transaction is a payment or transfer that has been signed and broadcast to a blockchain network but has not yet been included in a confirmed block. Until a miner (on proof-of-work chains like Bitcoin) or a validator (on proof-of-stake chains like Ethereum) picks it up and adds it to a block, the transaction remains in an unconfirmed state. During this window, the funds are effectively in limbo: the sender cannot re-spend them, but the recipient cannot rely on them either.

Every blockchain user encounters pending transactions. Whether you are sending Bitcoin to an exchange, paying for goods with a stablecoin, or interacting with a smart contract, there is always a gap between broadcasting your transaction and seeing it confirmed. Understanding this gap is essential for managing fees, avoiding double-spend risks, and knowing when a payment is truly final.

How It Works

A pending transaction follows a predictable lifecycle from creation to confirmation. Each stage involves different parts of the network.

Transaction Lifecycle

  1. The sender creates and digitally signs a transaction using their private key, specifying the recipient, amount, and fee
  2. The signed transaction is broadcast to the peer-to-peer network, reaching connected nodes within seconds
  3. Each node independently validates the transaction: checking the signature, confirming sufficient funds, and ensuring no double-spend conflict
  4. Valid transactions enter the node's mempool, a temporary holding area for unconfirmed transactions
  5. A miner or validator selects transactions from the mempool to include in the next block, typically prioritizing those with higher fee rates
  6. Once a block containing the transaction is added to the chain, the transaction receives its first confirmation
  7. Each subsequent block adds another confirmation, increasing settlement assurance

During steps 2 through 5, the transaction is considered pending. The duration of this period depends on network congestion, the fee attached, and the chain's block time.

The Mempool

The mempool (short for memory pool) is where pending transactions wait. Each node on the network maintains its own mempool, so there is no single universal queue. This means different nodes may have slightly different sets of pending transactions at any given moment.

Mempools have size limits. Bitcoin Core nodes default to a 300 MB mempool. When the mempool fills up during periods of high demand, nodes evict the lowest-fee transactions first. An evicted transaction effectively disappears from that node's view: it must be rebroadcast or discovered from another node to re-enter the pool.

# Check the current mempool state on a Bitcoin node
bitcoin-cli getmempoolinfo

# Example output:
# {
#   "loaded": true,
#   "size": 48521,           # number of pending transactions
#   "bytes": 32847291,       # total size in bytes
#   "usage": 95421888,       # memory usage in bytes
#   "maxmempool": 300000000, # maximum mempool size (300 MB)
#   "mempoolminfee": 0.00001000,
#   "minrelaytxfee": 0.00001000
# }

Confirmation Times Across Chains

How long a transaction stays pending depends heavily on which network it is on:

NetworkBlock TimeTypical Confirmations RequiredApproximate Wait
Bitcoin~10 minutes1 to 610 min to 1 hour
Ethereum~12 seconds1 to 12 (finality: ~13 min)12 sec to 13 min
Solana~400 milliseconds1 (optimistic), 32 (finalized)<1 sec to ~13 sec
SparkInstant finality1Sub-second

These numbers assume the transaction carries a sufficient fee. During congestion, Bitcoin transactions with low fees can remain pending for hours or even days. See Bitcoin fee market dynamics for a deeper analysis of how congestion affects confirmation times.

Why Transactions Get Stuck

A transaction becomes stuck when miners or validators consistently skip it in favor of higher-fee alternatives. Several factors contribute:

  • Low fee rate: the most common cause. When network congestion spikes, the minimum fee needed for timely confirmation rises. A transaction set at 2 sat/vB may confirm quickly on a quiet day but sit for hours when the mempool is full of transactions paying 20+ sat/vB
  • Mempool backlog: during Bitcoin fee spikes, the mempool can hold tens of thousands of pending transactions. Miners can only fit roughly 4,000 transactions per block (depending on transaction sizes), so a large backlog creates a queue that takes many blocks to clear
  • Large transaction size: transactions with many inputs (common after UTXO consolidation) take up more block space and require proportionally higher total fees to maintain the same fee rate
  • Dependent transaction chains: if a transaction spends an output from another pending transaction, it cannot confirm until the parent confirms. A chain of unconfirmed dependencies can create cascading delays

How to Unstick a Pending Transaction

Two primary techniques exist for accelerating a stuck Bitcoin transaction. Both work by increasing the effective fee rate that miners see, making the transaction more attractive to include in a block.

Replace-by-Fee (RBF)

Replace-by-Fee allows the sender to create a new version of the same transaction with a higher fee. The replacement spends the same inputs, so only one version can ever confirm. Originally defined in BIP 125 as opt-in, full RBF became the default in Bitcoin Core 28.0 (October 2024) and was made mandatory in Bitcoin Core 29.0 (April 2025), meaning nodes accept replacements for any unconfirmed transaction.

# Bump the fee on a stuck transaction using Bitcoin Core
bitcoin-cli bumpfee <txid>

# Or manually create a replacement with higher fee
bitcoin-cli createrawtransaction '[{"txid":"<stuck_txid>","vout":0}]' '{"<recipient>":0.01}'
# Sign and broadcast the replacement with a higher fee

RBF is the most efficient method because it replaces the original transaction in place: no additional block space is consumed beyond the replacement itself.

Child-Pays-for-Parent (CPFP)

Child-Pays-for-Parent works differently: either the recipient or the sender (via a change output) creates a new "child" transaction that spends an output of the stuck "parent" and attaches a high fee. Miners evaluate the aggregate fee rate of the parent and child together. If the combined rate is attractive enough, they include both.

# CPFP: spend the unconfirmed output with a high-fee child
# The miner must confirm the parent to claim the child's fee
bitcoin-cli sendtoaddress <your_address> <amount> "" "" true true null "unset" null 25
#                                                    ^-- fee rate of 25 sat/vB for the child

CPFP is particularly useful for recipients who cannot modify the original transaction. The tradeoff is cost: the child transaction adds its own overhead, so the total fee paid for confirmation is higher than with RBF. For a detailed comparison, see the complete guide to RBF and CPFP fee bumping.

Use Cases

Exchange Deposits

Exchanges require a minimum number of confirmations before crediting deposits. For Bitcoin, this typically ranges from 1 to 6 confirmations (10 minutes to 1 hour). During this period, the deposit shows as "pending" in the exchange interface. Understanding this process helps users set appropriate fees and avoid unnecessary support tickets about delayed deposits.

Merchant Payments

Merchants accepting on-chain payments must decide how many confirmations to require before releasing goods. For low-value purchases, some merchants accept zero-confirmation transactions with the understanding that there is a small risk of double-spend. For high-value sales, waiting for multiple confirmations is standard practice. Layer 2 solutions like Spark eliminate this tradeoff entirely by providing instant finality.

DeFi and Smart Contract Interactions

On Ethereum and other smart contract platforms, pending transactions can have outsized consequences. A pending swap on a decentralized exchange can be front-run by MEV bots that see the transaction in the mempool and place their own transaction ahead of it. This has driven development of private transaction pools and MEV protection mechanisms.

Fee Estimation and Optimization

Wallets and applications use the current mempool state to estimate fees. By analyzing the distribution of pending transactions and their fee rates, fee estimation algorithms predict how much a user needs to pay for confirmation within a target number of blocks. See fee estimation algorithm comparison for how different approaches handle this.

Why It Matters

Pending transactions are a core part of how blockchains balance decentralization with throughput. The confirmation delay exists because miners and validators need time to reach consensus on the order of transactions. On Bitcoin, the 10-minute block time is a deliberate design choice that keeps the network decentralized by giving blocks enough time to propagate globally before the next one is mined.

For end users, the pending state is often the most frustrating part of using a blockchain. It is what makes crypto payments feel slow compared to card networks that authorize in seconds (even though those card payments take days to fully settle behind the scenes). This user experience gap is a primary motivator for Layer 2 solutions.

Spark, as a Bitcoin Layer 2, eliminates the pending state by using a statechain transfer model with instant finality. Transactions on Spark settle in sub-second time with no mempool, no fee auction, and no confirmation wait. This makes it practical for point-of-sale payments, streaming micropayments, and other use cases where a 10-minute pending period is a dealbreaker.

Risks and Considerations

Double-Spend Risk

While a transaction is pending, it has not been finalized by the network. A malicious sender could broadcast a conflicting transaction that spends the same inputs to a different address. If the conflicting transaction is confirmed first (or replaces the original via RBF), the original payment never settles. This is why merchants and exchanges require confirmations before treating a payment as final. The more confirmations, the harder a double-spend becomes.

Mempool Eviction

Transactions are not guaranteed to stay in the mempool. If network demand pushes fees high enough, low-fee transactions are evicted from nodes' mempools to make room. Bitcoin Core's default mempool policy removes the lowest-fee transactions first when the 300 MB limit is reached. An evicted transaction must be rebroadcast. If the user's wallet does not handle rebroadcast automatically, the transaction may appear to vanish.

Liquidity Lock

While a transaction is pending, the inputs it spends are effectively locked. The sender cannot use those funds for another payment unless they replace the transaction via RBF. For businesses that process many payments, having funds tied up in pending transactions can create cash flow constraints, especially during periods of high network congestion.

Time Sensitivity

Some transactions are time-sensitive. A payment for an e-commerce order, an arbitrage trade, or a DeFi liquidation can become worthless if it confirms too late. Users must balance the desire to save on fees against the risk that their transaction confirms after the opportunity window has closed. Tools like fee estimation help, but they are predictions, not guarantees.

This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.