# Buying, Selling & Trading

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

The buy button is where you purchase new tokens.

The sell button is where you sell your tokens.

**How to buy:**

1. Click buy
2. Paste the contract address
3. Type the amount you want to buy (In SOL, ETH, or ETH on BASE - Make sure you DO NOT enter the max amount that your wallet has! You need to leave some for gas fees & trading fee!)

**How to sell:**

1. Click sell
2. Select the token you want to sell and click or tap it
3. Select "Sell X %" if you want to sell a custom amount. Select "Sell 100%" if you want to sell all your tokens.


---

# 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://docs.sanjibot.io/beginner-setup/buying-selling-and-trading.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.
