# Sell Tokens

<table data-header-hidden><thead><tr><th valign="top"></th><th align="center"></th></tr></thead><tbody><tr><td valign="top"><ol><li>Paste the token's contract address or URL (e.g., Defined) to open the sell menu.</li><li>Click the button with the percentage you want to sell. (preset or custom SOL %)</li><li>After clicking "Sell," wait for the "Sell Success" message.</li></ol><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p><strong>Note:</strong> You can also access the sell menu by:</p><ul><li>Selecting <code>/positions</code> from the Menu button or typing <code>/positions</code> in the textbox.</li><li>Clicking the "Switch to Sell" button in the buy menu.</li></ul></td><td align="center"><img src="/files/XsZB3rWaezF0rnxGAjnn" alt="" data-size="original"></td></tr></tbody></table>

<details>

<summary>Troubleshooting Failed Transactions</summary>

* Increase sell gas amount (e.g., from 0.001 to 0.005 or higher).
* Increasing your tip (e.g., from 0.001 to 0.005 or higher).
* For volatile tokens, increase slippage (e.g., from 5% to 10-30%).

</details>

### Sell Menu

This menu appears after selecting your position or clicking "Switch to Sell" in the buy menu. It displays token information and sell settings.&#x20;

{% tabs %}
{% tab title="Token Info" %}

<figure><img src="/files/veANXaxm3uScZFKilXRL" alt=""><figcaption><p>Sell Menu Token Information</p></figcaption></figure>

1. **Token:** Full token name.
2. **Token Contract:** Token contract address (CA).
3. **DEX:** Where the token is traded.
4. **Profit:** Shows the percentage gain or loss across all wallets holding the token.
5. **Total Supply:** Percentage of the token's total supply that you hold.
6. **Market Cap:** Total value of all tokens in circulation.
7. **Liquidity:** The total value of assets in the token's liquidity pool, displayed in SOL.
8. **Price:** Current token price (USD).
9. **Tax:** The contract’s sell tax at the time of pasting the contract.
10. **Recommended Tip:** Recommended tip amount for successful transactions.
11. **Wallet(s):** The percentage gain or loss for each wallet holding the token.
    1. **Worth:** Token value in SOL.
    2. **Cost:** Initial cost in SOL.
12. **Token Balance:** Number of tokens you hold.
13. **Balance:** Your SOL balance.
14. **Links:** Quick access to Solscan, Birdeye, Dexscreener, Dextools, and Defined.
    {% endtab %}

{% tab title="Sell Settings" %}
{% hint style="info" %}
Sell settings apply only to the token you're currently trading. To adjust default sell settings (e.g., "Sell" button SOL amounts, preset slippage), go to [Preset Settings](/banana-gun-solana/trading/settings/preset-settings.md).
{% endhint %}

<figure><img src="/files/4Ep5s6tf3yGxcrfXgClm" alt=""><figcaption><p>Sell Menu Buttons and Settings</p></figcaption></figure>

{% hint style="info" %}
Enter new values or select red or green to enable or disable options. Review the descriptions below to understand each setting.
{% endhint %}

1. **Auto Gas:** Automatically sets gas fees based on current network conditions. Choose "Medium" (green) or "Fast" (red).
2. **Sell Gas:** The gas amount you're willing to pay for your sell orders. If unchanged, the default gas setting will be used.
3. **Anti-MEV:** Turns on or off protection against MEV (sandwich) attacks. Turning it on (green) prevents these attacks but might make transactions slower.
   1. **Anti-MEV + Public:** Protects trades from MEV (sandwich) attacks while keeping them visible on the blockchain. Increases security but may slightly slow transaction speed.
4. **Mev Tip:** Set a tip to prioritize your transaction when Anti-MEV is on. This tip is added to your Sell Gas. If unchanged, your default tip setting will be used.
5. **Click to Refresh:** Updates the token information (price, market cap).
6. **Sell Buttons:** Shows preset sell % buttons. Click "Sell X SOL" to enter a custom sell amount. Default button percentages can be adjusted in the [Preset Settings](/banana-gun-solana/trading/settings/preset-settings.md) menu. *The following options appear if you hold the token in more than one wallet.*
   1. **Sell All Wallets:** Sell this token from all your wallets (if you used multiple wallets to buy).
   2. **Sell % Wallet:** Sell a percentage of this token from a specific wallet (e.g., 25% from Wallet #1).
   3. **Sell W #:** Sell 100% of this token from a specific wallet (e.g., Wallet #1).
7. **Slippage:** The maximum price change (0–99%) you'll accept. 100% means unlimited slippage.&#x20;
8. **Price Impact Limit:** The maximum percentage the token price can change because of your order.
9. **Setup Sell Limit Order:** Place sell orders that will execute only when the price reaches your target.
10. **Positions:** Shows your active trades.
11. **PnL Card:** Generates a PnL card showing your profits/losses. It can be simple or detailed.
12. **Switch to Buy:** Switches to the [buy menu](/banana-gun-solana/trading/buy-tokens.md) for the selected token.
13. **Remove Positions:** Removes the token from your Positions list. You will need to re-paste the contract to re-add the position.
    {% endtab %}

{% tab title="How to Change Settings" %}

<figure><img src="/files/01LecHQ4VwSHsNRoQvoL" alt="" width="344"><figcaption><p>Changing Slippage and Auto Gas</p></figcaption></figure>

1. Select the preset you want to change.
2. Enter a new value in the text box or toggle a button.
3. Your preset will update, and the new value will appear (e.g., Auto Gas set to "Medium" and Slippage changed from 5% to 10%).
   {% endtab %}
   {% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://banana-gun.gitbook.io/banana-gun-solana/trading/sell-tokens.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
