Should I speed up or cancel a stuck swap? Get past the nonce queue
Should you speed up or cancel a stuck DEX swap? Speed it up while the price stays within slippage; cancel and re-quote once it moves past minimum received.
By Crypto Readout Editorial4 min read#4e0fe0

Speed up a stuck DEX swap while its price remains within your slippage; cancel and re-quote once the price moves past your minimum received.
A pending swap is a transaction waiting to be included on Ethereum. Its nonce is the wallet’s transaction number, and later transactions from the same wallet must wait behind it. A replacement uses the stuck transaction’s nonce and a higher gas fee, so only one transaction with that nonce can take effect.
The minimum received is the swap’s price floor. For a SHIB sale through shiba swap, compare the current quote with the original minimum received before choosing a replacement. A speed-up keeps that original floor and deadline, even when the market price has moved.
Compare speed up, cancel and wait
These three choices trade off the swap’s price, urgency and gas fee. First, look up the pending transaction hash on Etherscan. Confirm that it is still pending, then note its nonce and fee so you can compare the replacement with the original.
- Speed up: Resends the same swap at a higher fee, with the original minimum received and deadline. It can help the swap get included sooner if the price still meets that minimum. If the price has moved past it, the faster transaction can still revert.
- Cancel: Sends 0 ETH to your own address at the same nonce, with a higher fee. If it confirms first, it takes the nonce and prevents the swap from executing. You pay gas for the cancellation, then need to get a fresh quote and submit a new swap.
- Wait: Leaves the original transaction pending without submitting a replacement. Waiting costs no additional gas while you wait, and can make sense when fees are falling and there is no urgency. The trade-off is that every later transaction from that wallet stays queued behind the pending nonce.
Speed up when the current price still meets the original minimum received and getting the swap through soon is worth the higher gas fee. Cancel and re-quote when the price has moved past that minimum; paying more to speed up the old swap won’t change its price floor. Wait when nothing is urgent and fees are falling.
Say you sent a SHIB sale on shiba swap at a low fee during a price spike. If the current quote has moved past the sale’s minimum received, cancel the pending transaction and re-quote at the current price. If the original transaction mines before your replacement, the replacement is dropped and the swap stands. Check Etherscan again before deciding whether to submit another transaction.
Speed up and cancel look similar in one important way: both replace the pending transaction at its nonce and need a higher fee. What visibly differs is what they ask the network to execute: the speed-up resends the swap, while the cancellation sends 0 ETH to yourself. Mistaking a cancellation for a refund can lead you to expect the swap to complete or the gas fee to return.
Replacement fees depend on wallet and network rules. Geth’s default replacement rule requires a fee at least 10% higher than the original transaction’s fee. That increase is a threshold for a replacement under that rule, not a guarantee that it will be included immediately.
Related questions
How long can an Ethereum transaction stay pending?
An Ethereum transaction can stay pending until it is included, replaced by another transaction with the same nonce, or otherwise dropped from the pending pool. There is no fixed wait that guarantees it will clear. A later transaction from your wallet can remain queued while that nonce is unresolved.
Does cancelling a transaction cost gas?
Yes. Cancellation is a replacement transaction, so it uses a higher fee and costs gas if it confirms. If the original swap confirms first, the cancellation is dropped and the swap stands instead.
Stuck swap questions
Why did my sped-up swap still fail?
Speeding up changes the fee, not the swap’s price conditions. The replacement keeps the original minimum received and deadline, so it can revert if the price moves past the minimum or the deadline has passed.
How do I clear a stuck nonce in MetaMask?
Look up the pending hash on Etherscan to check its status, nonce and fee. In MetaMask, submit a speed-up or cancellation for that pending transaction; each option replaces it at the same nonce with a higher fee. If the original mines first, the replacement is dropped.
Can I get gas back from a cancelled transaction?
No. If the cancellation confirms, its gas fee pays for processing the replacement transaction. The original swap does not execute, but the gas spent on a confirmed cancellation is not refunded.