> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prigeex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Fees & Gas

There are two different kinds of cost when you use PrigeeX. It helps to know which is
which.

## 1. Network fee ("gas")

**Gas** is the fee paid to the Arbitrum network to process your transaction: a swap,
adding liquidity, staking, anything. It's always paid in **ETH**, regardless of which
tokens you're dealing with.

* **It goes to the network**, not to PrigeeX.
* **It's small on Arbitrum**, usually a few cents, because Arbitrum is a low-cost Layer 2
  network.
* **You need ETH to cover it.** Even if you're only trading USDC, you must keep a little
  ETH in your wallet for gas, or transactions will fail.

## 2. Trading fee

The **trading fee** is a small percentage charged on each swap. This is the fee that:

* **Rewards liquidity providers** for supplying the pool you traded against, and
* **Funds the platform**, a portion of which is paid out to [PGX stakers](../guides/stake-pgx).

Different pools can have different fee levels (for example 0.05%, 0.30%, or 1.00%). Stable
pairs use low fees; volatile pairs use higher ones. When you swap, the price quote you see
already accounts for the fee; there's no surprise charge.

## Where PrigeeX's revenue goes

A share of trading fees becomes platform revenue. That revenue is split **70% to PGX
stakers** and **30% to the PrigeeX treasury**, converted into PGX. This is why staking ties
your earnings directly to how much the platform is used. See
[PGX Tokenomics](../investors/pgx-tokenomics).

## Why a swap might fail (and what to do)

A failed transaction still costs a little gas, so it's worth avoiding. Common causes:

| Reason                     | What's happening                                                           | Fix                                               |
| -------------------------- | -------------------------------------------------------------------------- | ------------------------------------------------- |
| **Slippage exceeded**      | The price moved more than your slippage tolerance before the trade settled | Try again, or raise slippage slightly in settings |
| **Not enough ETH for gas** | You have tokens but no ETH to pay the network fee                          | Add a little ETH on Arbitrum                      |
| **Deadline passed**        | The trade didn't settle within your time limit                             | Retry; optionally increase the deadline           |
| **Not enough liquidity**   | The pool is too small for a trade that size                                | Trade a smaller amount, or split it up            |
| **Missing token approval** | You haven't given permission to trade that token yet                       | Approve the token, then swap                      |

<Note>
  **Slippage in plain terms:** the price can shift slightly between clicking and settling.
  Your **slippage tolerance** (default 0.5%) is the most you'll accept before the trade
  cancels itself to protect you. Volatile tokens may need a slightly higher tolerance to go
  through.
</Note>

## Keeping costs down

* **Keep a small ETH buffer** on Arbitrum so you never get stuck.
* **Batch your actions** when you can: each transaction costs gas.
* **Don't over-collect tiny fees** on Concentrated positions; collecting also costs gas, so let them
  build up a bit first.

## Related

* [Swap Tokens](../guides/swap-tokens)
* [Get Funds on Arbitrum](../getting-started/get-funds-on-arbitrum)
* [FAQ](../reference/faq)
