> For the complete documentation index, see [llms.txt](https://docs.libertyswap.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.libertyswap.finance/how-to/common-issues-while-using-liberty-swap/fix-pending-transactions.md).

# Fix Pending Transactions

### 1️⃣ What is a pending transaction?

A pending transaction means:

* Your wallet already sent a transaction
* But the blockchain has not included it in a block yet

This usually happens when:

* Gas fee was too low
* Network is congested
* A previous transaction is blocking the nonce
* The wallet sent multiple transactions too fast

Every new transaction must use the **next nonce**.\
If one nonce is stuck, **all later transactions will also be stuck**.

### 2️⃣ Quick solution: Speed up or cancel the stuck transaction

Most wallets support this.

#### In MetaMask, Rabby, OKX Wallet:

1. Open the stuck transaction
2. Click **Speed Up** (increase gas)\
   or
3. Click **Cancel** (send a 0-value tx with same nonce)

This replaces the stuck transaction and unlocks your wallet.

### 3️⃣ Advanced fix: Use Custom Nonce

If the wallet supports manual nonce (Rabby, Pulse Wallet, MetaMask Advanced Mode, OKX):

1. Open wallet **Settings → Advanced**
2. Enable **Custom Nonce**
3. Find your latest confirmed nonce on the block explorer
4. Send a new transaction with:

   ```
   Nonce = last confirmed nonce + 1
   Gas = higher than before
   ```

This bypasses the stuck transaction.

### 4️⃣ Clear all pending transactions

Some wallets provide a one-click reset.

#### MetaMask

Settings → Advanced → **Clear Activity & Nonce Data**

This:

* Removes stuck pending transactions
* Resyncs nonce from the blockchain
* Does NOT delete your funds

After clearing, reconnect to Liberty Swap and try again.

### 5️⃣ Use a replacement transaction (manual method)

If cancel is not available:

Send a **0-value transaction to yourself** using:

* The same nonce
* Higher gas fee

This overwrites the stuck transaction.

### 6️⃣ Change RPC before resending

Sometimes the transaction is already confirmed but the RPC is outdated.

Before retrying:

* Switch to a different RPC
* Refresh the wallet
* Check the block explorer

Then resend if needed.

### 7️⃣ Recommended wallets for handling pending issues

These wallets have the best nonce & gas controls:

* **Rabby Wallet**
* **Pulse Wallet**
* **MetaMask**
* **OKX Wallet**

For Solana:

* **Phantom**
* **Solflare**

### Summary

If your Liberty Swap transaction is stuck:

1. Try **Speed Up**
2. Try **Cancel**
3. Use **Custom Nonce**
4. **Clear pending transactions**
5. Switch **RPC**
6. Try another wallet if needed

Your funds are always safe on-chain - pending transactions are just a wallet-level issue.
