cryptonews24

Swap transaction stuck pending: fees, nonces and fixes

A pending swap transaction is a signed trade waiting for a validator to include it in a block. For a swap started on KyberSwap, use its transaction hash to compare the fee and nonce shown in Etherscan with current network conditions. Usually, the fee is too low for current demand, or an earlier transaction from the same wallet is still pending.

Say you sign a KyberSwap swap during a fee spike. Your wallet shows “pending,” while Etherscan shows the transaction in the mempool with a max fee below the current base fee. The swap cannot enter a block at that base fee. KyberSwap may have found a route across liquidity sources, but the signed transaction still has to clear the network’s fee rules.

EIP-1559 specifies the fee mechanism: the base fee changes with block demand, a priority fee rewards the validator, and your max fee caps their combined cost per unit of gas. When the base fee exceeds that cap, the transaction waits for fees to fall or for a replacement. A small available priority fee can also slow inclusion when other transactions offer more.

Change one detail: the swap’s fee is adequate, but an earlier transfer from the same address is pending at a lower nonce. Transactions from one address execute in nonce order. That transfer blocks the swap and every later transaction, including a new swap sent with a high fee. The answer still holds: validators cannot include the swap yet. Clearing the oldest pending nonce comes first.

How do you clear a pending swap?

Start with the oldest pending transaction from your address. Open its hash in Etherscan and read its status, nonce and fee. Compare its max fee with the current base fee. If an older nonce is pending, raising only the swap’s fee will not clear the queue. You can wait for fees to fall or replace the transaction causing the hold-up.

MetaMask’s speed-up and cancellation instructions explain the replacement rule: submit a transaction with the same nonce and a higher fee while the original is pending. Speed Up resubmits the intended transaction; Cancel sends a different one, typically a zero-value transfer to yourself. Only one transaction at that nonce can confirm, so check which hash succeeds before trying the swap again.

How long can a transaction stay pending?

A pending transaction has no fixed timeout. It may confirm when fees fall, be replaced, or disappear as nodes drop it from their mempools. Check its explorer status before resubmitting.

Will a stuck swap still execute at the old price?

A pending swap uses pool conditions when it executes. If the output falls below the transaction’s minimum or its deadline expires, the swap may fail instead of completing at the earlier quote.

More swap questions

Do I lose gas if a swap fails?

A swap that reaches a block and fails uses gas for the work performed. A transaction that stays pending or is dropped uses no gas.

How do I check a transaction hash on Etherscan?

Paste the hash into Etherscan’s search box, then inspect its status, nonce and fee. On another EVM network, use that network’s block explorer.

Why did my swap fail with a slippage error?

A slippage error means the output at execution fell below the minimum you approved. Refresh the quote before attempting another swap.