# Fees

## **Solana Fees**

When trading on Solana using PegaX, users can customize fee settings to optimize transaction speed and success rate.&#x20;

Below is a detailed breakdown of each fee type and how to adjust them based on market conditions.

<table><thead><tr><th width="119.1484375">Fee Type</th><th>Explanation</th><th width="131.1875">Default Value</th><th>Optimization Tips</th></tr></thead><tbody><tr><td>Priority Fee</td><td>Extra fee paid to validators to speed up transaction confirmation, especially during network congestion.</td><td>0.001 SOL</td><td>Increase when the network is congested to ensure faster confirmation.</td></tr><tr><td>Slippage<br></td><td>The maximum price difference you are willing to accept for a trade. Higher slippage allows execution in volatile markets but may lead to worse prices.<br></td><td>20%</td><td><ul><li>Set higher for volatile assets to prevent failed transactions.</li><li>Keep low if <strong>not using MEV protection</strong> to avoid sandwich attacks.</li></ul></td></tr><tr><td>MEV<br></td><td><ul><li>By enabling MEV Protection, users pay an additional fee to prevent frontrunning.</li><li>MEV Protection prevents frontrunning and sandwich attacks by sending trades only to Jito, reducing MEV risks. When disabled, transactions go to both Jito and standard block leaders, increasing speed but exposing trades to manipulation.</li></ul></td><td>Off</td><td>While it enhances security, MEV Protection may slightly delay execution.</td></tr><tr><td>Bribe Fee</td><td>An additional fee paid to validators to increase transaction priority and execution safety.</td><td>0.001 SOL</td><td><ul><li>Higher bribes improve transaction success but do not guarantee execution.</li><li>Recommended for high-volume trades.</li></ul></td></tr></tbody></table>

## **PegaX Fees**

PegaX collects fees in $SOL, charging 1% per buy and sell trades based on the initial token amount used.

Below is a breakdown of how the fees are calculated for both buy and sell transactions.

<table><thead><tr><th width="96.625">Trade Type</th><th>Example Scenario</th><th>Fee Calculation</th><th>Final Execution</th></tr></thead><tbody><tr><td>Buy</td><td>User spends 1 $SOL to buy 100 tokens</td><td>1 $SOL × 1% = 0.01 $SOL</td><td>0.99 $SOL is used for the purchase after deducting the 0.01 $SOL fee.</td></tr><tr><td>Sell</td><td>User sells 100 tokens at 0.01 SOL per token</td><td>Total sell = 100 × 0.01 SOL = 1 SOL 1 SOL × 1% = 0.01 SOL fee</td><td>User receives 0.99 $SOL after the 0.01 SOL fee is deducted.</td></tr></tbody></table>

{% hint style="info" %}
We offer users hgh fee discounts through referrals, cashback, and more. For details, please check [here](https://docs.pegax.ai/rewards).
{% endhint %}
