# Introduction

Tx Swap matches trades using batch auctions from various on-chain liquidity sources, mirroring the process utilized by Cow Swap.

Trades can be settled either directly through underlying on-chain AMMs or via DEX Aggregators, all depending on which pool or path provides the most optimal price. In this manner, Tx Swap effectively acts as a DEX Aggregator of DEX Aggregators.

Moreover, before identifying the best price for a trade from the available on-chain liquidity, Tx Swap, first searches for a coincidence of wants within the existing batch to provide an even more competitive price than any given pool can offer.


---

# 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://txswap.gitbook.io/tx-swap/overview/introduction.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.
