> 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-buy.md).

# How to Buy a Token

Buying a token on onchain.cc takes under a minute. Here's how it works from search to confirmed swap.

***

## Steps

**1. Search for a token by name or paste its contract address (CA)**

Use the search bar at the top of the terminal. Type the token name or ticker, or paste the contract address directly. Pasting the CA is the most reliable way to find the exact token you're looking for — names and tickers can have duplicates.

<figure><img src="/files/oN1ytZc58cSEGzaqTBjk" alt="" width="563"><figcaption><p><strong>SEARCH USING TOKEN TICKER</strong></p></figcaption></figure>

<figure><img src="/files/MT1N7VypcIVmFFOWaH19" alt="" width="563"><figcaption><p><strong>SEARCH USING TOKEN NAME</strong></p></figcaption></figure>

<figure><img src="/files/TaMdwYah9g0DVqVSjgqm" alt="" width="563"><figcaption><p><strong>SEARCH USING TOKEN CA</strong></p></figcaption></figure>

***

**2. Review the token info**

Before you trade, check the token's stats in the info panel:

* **Price** — current market price
* **Market Cap** — fully diluted and circulating where available
* **24h %** — how actively it's trading
* **Volume** — total volume available in the pool (**liquidity**)

**Low liquidity is a red flag.** Thin markets mean wider spreads and higher slippage. Always review liquidity before buying.

> **Warning:** Low-liquidity tokens carry significantly higher slippage risk. A large buy into a thin pool can move the price against you. Always check the liquidity figure before placing a trade.

***

**3. Enter the amount you want to spend**

In the swap panel, enter how much you want to spend. You can input in SOL or switch to an approximate USD value. The terminal will show you the estimated output amount based on current market conditions and Carbium's routing.

<figure><img src="/files/Z2rCMKtYIgAnRIcEfeUb" alt="" width="563"><figcaption><p><strong>SWAP QUOTE EXAMPLE (USDC TO SOL)</strong></p></figcaption></figure>

<figure><img src="/files/rY2hcL9XLJhU0jknpuRi" alt="" width="482"><figcaption></figcaption></figure>

***

**4. Set your slippage tolerance**

Slippage is the difference between the price you expect and the price you actually get. It happens because on-chain prices shift between the moment you submit a transaction and when it settles.

> **Info:** **What is slippage?**
>
> Slippage tolerance is the maximum price movement you're willing to accept. If the price moves more than your tolerance before your transaction confirms, the trade will fail rather than execute at a worse price than you expected.
>
> * **Recommended default:** 1–3% for most tokens
> * **High slippage (5%+):** May be needed for low-liquidity or volatile tokens, but increases your exposure to front-running and price impact
> * **Too low slippage:** Your transaction may fail if the price moves even slightly

Set slippage in the swap panel settings before confirming.

<figure><img src="/files/Q9WBqhJm2ePZu9Jb9117" alt="" width="410"><figcaption><p><strong>SLIPPAGE SETTING IN SWAP PANEL (GEAR ICON)</strong></p></figcaption></figure>

***

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

Once you've reviewed the trade — output amount, price impact, and slippage — click **Buy**. Your connected wallet will prompt you to confirm the transaction. Review the details in your wallet and approve.

\[SCREENSHOT: wallet confirmation prompt]\
**NOTE:** PENDING CONFIRMATION ABOUT POINT 5 DESCRIPTION BEING ACCURATE

<figure><img src="/files/2G7S5J6mXcFZXpEjzich" alt="" width="513"><figcaption></figcaption></figure>

<figure><img src="/files/Xm2UpEvQg4UPSkHIhp4P" alt="" width="488"><figcaption></figcaption></figure>

***

## After the Trade

> **Success:** A confirmed transaction means your tokens are in your wallet. You can verify the swap on the **chain's block explorer (Solana Explorer for Solana, Etherscan for Ethereum, etc.)** using the transaction hash shown in the confirmation screen. Your new token balance will appear in Portfolio View.

***

## Quick Reference

| Step | Action                                      |
| ---- | ------------------------------------------- |
| 1    | Search by name or paste CA                  |
| 2    | Review price, volume, liquidity, market cap |
| 3    | Enter spend amount (SOL or USD)             |
| 4    | Set slippage (1–3% recommended)             |
| 5    | Click Buy 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-buy.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.
