> For the complete documentation index, see [llms.txt](https://onchain-cc.gitbook.io/onchain-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://onchain-cc.gitbook.io/onchain-docs/swap/how-to-sell.md).

# How to Sell a Token

Selling on onchain.cc works the same way as buying — your trade routes through Carbium for best execution and settles on-chain in seconds.

***

## Steps

**1. Go to Portfolio View or search the token in the terminal**

Open Portfolio View to see all tokens currently held in your connected wallet. Select the token you want to sell. Alternatively, search for the token directly in the search bar and navigate to the swap panel.

<figure><img src="/files/JwR5aE0X4NqoBnLrZmAV" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/3Yrw1wB33f9xGk0X7vJj" alt="" width="563"><figcaption><p><strong>TOKEN HOLDING IN PORTFOLIO VIEW</strong></p></figcaption></figure>

***

**2. Select Sell**

In the swap panel, switch to the **Sell** side. The input will now show the token you're selling, and the output will default to the chain's native token (SOL on Solana, ETH on Ethereum, etc.). You can change the output token if you want to swap into something else.

***

**3. Choose the amount to sell**

Use the quick-select buttons to sell a portion of your position:

| Button | Amount Sold                    |
| ------ | ------------------------------ |
| 25%    | A quarter of your balance      |
| 50%    | Half your balance              |
| 75%    | Three quarters of your balance |
| 100%   | Your entire balance            |

Or enter a specific amount manually. **The estimated output amount updates in real time based on current liquidity and Carbium routing.**

**NOTE: Sell action not working as intended, insuficient gas despite having SOL tokens.**\
**Also token amount is reflected in USD value using quick amounts buttons.**

<figure><img src="/files/GDHdspHHKcFLcgiosPdR" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Wx8vYKJvuT5o97wvEbKA" alt="" width="482"><figcaption><p><strong>SELL BUTTON SELECTED WITH MANUAL INPUT</strong></p></figcaption></figure>

***

**4. Review the trade**

Before confirming, check:

* **Output amount** — estimated tokens you'll receive
* **Price impact** — how much your sell will move the price
* **Slippage tolerance** — same rules apply as buying; 1–3% is a reasonable default

***

**5. Click Sell and confirm in your wallet**

Click **Sell**. Your wallet will prompt you to review and approve the transaction. Confirm to submit.

***

## After the Trade

> **Success:** Once confirmed, the tokens leave your wallet and your output-token balance updates. Check Portfolio View to see your updated holdings. The transaction hash is available on the confirmation screen for on-chain verification on that chain's block explorer.

***

> **Info:** **You need the chain's native token for gas — even when selling.**
>
> **Every on-chain transaction — including sells — requires a small amount of the chain's native token (SOL on Solana, ETH on Ethereum, etc.) to pay network fees. This is separate from the 0.15% platform fee.** If your native-token balance is zero on the chain you're selling on, the transaction will fail. Keep a small reserve at all times.

***

## Quick Reference

| Step | Action                                              |
| ---- | --------------------------------------------------- |
| 1    | Go to Portfolio View or search the token            |
| 2    | Select Sell in the swap panel                       |
| 3    | Choose amount using quick buttons or enter manually |
| 4    | Review output amount, price impact, and slippage    |
| 5    | Click Sell and confirm in wallet                    |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://onchain-cc.gitbook.io/onchain-docs/swap/how-to-sell.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.
