> For the complete documentation index, see [llms.txt](https://docs.mach.exchange/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mach.exchange/protocol-concepts/cross-chain-swaps.md).

# Cross-Chain Swaps

## Cross-Chain swap

Cross-chain swaps are a mechanism that allows the exchange of assets between different blockchain networks without the need for a centralized intermediary. This process enhances interoperability and liquidity across various blockchain ecosystems.

Whereas Decentralized Exchanges (DEXs) can only make swaps on their own blockchain, and bridges can only bridge assets across chains — Mach can create efficient and secure swaps between any two chains, swapping any asset to any other asset. This capability sets Mach apart by offering unmatched flexibility and efficiency in asset exchange.

<figure><img src="/files/JpbJRtyP3xGJYVNPszZD" alt="" width="563"><figcaption></figcaption></figure>

In practice, this is achieved through the implementation of one single, secure, smart contract per-chain that manages the transfer, ensuring both sides of the transaction are completed simultaneously and securely. By utilizing leveraging each respective chain's underlying security, it guarantees that the swap process is trust-less and efficient.


---

# 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.mach.exchange/protocol-concepts/cross-chain-swaps.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.
