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

# Welcome to XSwap

XSwap stands as the inaugural DEX on the X Layer, pioneering cross-chain swaps. The X Layer, a ZK-powered Layer 2 network, bridges the OKX and Ethereum communities, enabling universal participation in a globally connected on-chain ecosystem. Engineered to replicate the user experience of centralized exchanges (CEX) within decentralized finance (DeFi), XSwap offers higher capital efficiency through the DL-AMM model.


---

# 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.xswap.one/welcome-to-xswap.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.
