# Crosschain swaps

WOOFi is the first DEX that enabled one-click crosschain swaps by integrating LayerZero's crosschain messaging and Stargate's bridge liquidity.&#x20;

WOOFi's crosschain swap router wraps multiple actions into one, so the whole process is abstracted away from the users.&#x20;

A crosschain swap transaction may include all or some of the following steps:

1. Swap asset A in the user's wallet to asset B in WOOFi on the source chain
2. Bridge asset B to asset C on the destination chain via Stargate (asset B and asset C are of the same value)
3. Swap asset C to asset D in WOOFi on the destination chain and send back to the user's wallet

<div data-full-width="true"><figure><img src="/files/CzZI8sIdTLOdN4LuVuZ6" alt="" width="563"><figcaption><p>Crosschain swap routing</p></figcaption></figure></div>

Users only need to initiate and sign one transaction on the source chain. Users only need to pay the gas fee on the source chain once, which includes the gas fee of the operations on the destination chain.&#x20;

When querying the crosschain swap, users will be prompted with the optimal route with the most amount of output tokens. It utilizes various bridging routes in Stargate including stablecoins, ETH and WOO. Additional routes through OFT or CCTP will be supported in the future too.&#x20;


---

# 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://learn.woo.org/woofi/crosschain-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.
