> For the complete documentation index, see [llms.txt](https://docs.veneraswap.com/venera-swap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.veneraswap.com/venera-swap/features/swap.md).

# Swap

### Swap&#x20;

An automated market maker (AMM) is a type of decentralized exchange (DEX) that depends on a mathematical formula to price assets. AMM does not use an order book like a traditional exchange, instead assets are priced according to a pricing algorithm. Veneraswap allows users to trade without going through Centralized Exchanges (CEX). All trades are done through your own wallet. No third party involved.

**Liquidity Pools**&#x20;

What is a Liquidity Pool? Well Veneraswap operates when the liquidity is enough, a liquidity pool is a group of funds deposited into a smart contract by liquidity providers. When you trade on an AMM, you don’t have a counter party like in CEXs. However, you’re executing the trade against the liquidity in the liquidity pool. For the buyer to buy, there doesn’t need to be a seller at that particular moment, only sufficient liquidity in the pool. Providing liquidity will get you LP Tokens, which will earn you rewards in the form of trading fees for making sure there's always liquidity for the exchange to use.<br>

### Yield Farming

Yield farming lets users that are providing liquidity earn VSW rewards by locking their LP tokens into a smart contract.


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.veneraswap.com/venera-swap/features/swap.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
