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

# THE Spot DEX

THENA's Regular Swap engine is designed to provide users with efficient, low-cost trades across a wide range of digital assets. Harnessing the advanced routing technology of [ODOS](https://www.odos.xyz/), it ensures optimal trades with minimal slippage though THENA's liquidity pools. Users can benefit from seamless, instant swaps with competitive fees, all within a highly secure and user-friendly interface.

Our swap engine integrate as well [ORBS](https://www.orbs.com/) Liquidity Hub, an optimization layer on top of the AMMs that taps into external liquidity sources for better price execution and lower price impact for users. If Liquidity Hub is unable to execute the trade at a better price than the Regular Swap engine, the trade will fallback to the AMM contract and execute as usual.

<figure><img src="/files/hErAKiNKcuXlopNILEev" alt=""><figcaption><p>THENA's UI abstracts the complexity of the liquidity hub, delivering a seamless and enhanced user experience</p></figcaption></figure>

Liquidity Hub sources:

1. **Onchain solver auction**: Third-party solvers who compete to fill swaps using on-chain liquidity like AMM pools or their own private inventory.
2. **Decentralized orders via API**: Decentralized orders are accessible using API, enabling institutional/professional traders, such as market makers, to submit bids and compete to fill swaps.


---

# 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://docs.thena.fi/thena/the-spot-dex.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.
