milkshakeswap.finance

Why Your Swap Transaction Is Pending for Hours and How to Speed It Up

Your swap transaction is stuck pending because the gas price you set is lower than what validators are currently accepting to include your transaction in a block. You can speed it up by either canceling the pending transaction and resubmitting with a higher gas price, or by using a "speed up" feature in your wallet if available.

Why transactions get stuck

On Ethereum and other blockchains that use a fee market, every transaction includes a gas price you are willing to pay per unit of computational work. Validators (or miners) prioritize transactions that pay more. When network demand spikes, the minimum gas price needed for timely inclusion rises. If your submitted gas price falls below that threshold, your transaction sits in the mempool (the pool of pending transactions) waiting for a validator to accept it.

Several factors make this more likely:

How gas fees work in practice

Modern blockchains like Ethereum use EIP-1559, which splits the fee into a base fee (burned) and a priority fee (tip to validator). Your total gas price is base fee plus priority fee. The base fee adjusts algorithmically based on network demand, but the priority fee is what validators compete over. A low priority fee means your transaction waits.

On other chains like BNB Smart Chain or Polygon, the fee model differs slightly but the core mechanic is the same: pay more, get in faster.

How to check if your transaction is stuck

Open a block explorer (such as Etherscan for Ethereum, or BscScan for BNB Smart Chain) and paste your transaction hash. Look for:

How to Speed Up or Replace a Stuck Transaction

You have two main options. Both require a wallet that supports transaction replacement (MetaMask, Trust Wallet, and most modern wallets do).

Option 1: Speed Up (Increase Gas Price)

  1. In your wallet, locate the pending transaction. Most wallets show a "Speed Up" button.
  2. Click it. The wallet will suggest a higher gas price, often 10 - 20% above the original.
  3. Confirm the new transaction. The wallet resubmits the same swap with the higher gas price, using the same nonce. Validators see the higher fee and are likely to include it.
  4. Once the new transaction confirms, the original pending transaction is automatically replaced (it will fail because its nonce is now used).

Option 2: Cancel and Resubmit

  1. In your wallet, find the pending transaction and look for a "Cancel" option.
  2. Confirm the cancel. This sends a new transaction with the same nonce but zero value and a higher gas price, effectively telling the network to ignore the original swap.
  3. Wait for the cancel to confirm (which may take a few minutes if you set a high gas price).
  4. Once confirmed, submit your swap again. Set a gas price based on current conditions. Many wallets now offer "fast," "average," and "slow" options - choose "fast" or "aggressive" during congestion.

Important: do not send another swap directly

If you simply try to submit a new swap while the old one is pending, your wallet will reject it because the nonce is already in use. You must either speed up or cancel first.

What if you cannot speed up or cancel?

Some wallets or chains do not support transaction replacement. In that case:

How to Avoid Stuck Transactions in the Future

A note on failed transactions

If your transaction eventually confirms but the swap fails (e.g., "Insufficient Output Amount"), you still pay the gas fee. The swap does not execute, but the validation work is done. This is why it is wise to set a reasonable slippage tolerance before swapping.

Not financial advice. milkshakeswap.finance publishes market data and general information about MilkshakeSwap Token. Crypto assets are volatile and you can lose everything you put in. Nothing here is a recommendation to buy, sell or hold, and we make no price predictions.

Prices are sourced from third parties and may be delayed or wrong. Verify anything you intend to act on against a primary source.

Back to dex swaps