> For the complete documentation index, see [llms.txt](https://null-finance.gitbook.io/null-finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://null-finance.gitbook.io/null-finance/swap/ai-path-finder-swap.md).

# AI path finder Swap

When trading using a single DEX, there may be cases where the lowest price is not available for the same token. Even between large exchanges such as Uniswap, SushiSwap, Balancer, and Curve, price differences occur in real time, and in the case of highly volatile cryptocurrencies such as Meme Coin, AMM is subject to more severe price changes depending on liquidity changes that occur more price impact.

For this reason, you will not be able to find the optimal price when using a single exchange, and you will also experience losses on transactions above a certain amount.

## 0x Protocol and Null Finance

In this respect, the swap system provided by 0x Protocol detects more than 100 DEXs in real time and provides the optimal trading path based on this. Null Finance provides swaps using the above system, and in some cases, provides better transactions based on Null Finance's internal path find logic.&#x20;

<figure><img src="/files/wprAML87k3D5G9bLTHdT" alt=""><figcaption></figcaption></figure>

### Null Finance Swap

<figure><img src="/files/f7bKb5juYMp4pBYI9ts7" alt=""><figcaption></figcaption></figure>

Null Finance Swap manages wallet and contract connections through [wagmi](https://wagmi.sh/). Wagmi is the most reliable Web3 library solution officially used by [stripe](https://stripe.com/), [zkSync](https://zksync.io/), [Brave browser](https://brave.com/), [SushiSwap](https://www.sushi.com/swap), [PancakeSwap](https://pancakeswap.finance/), etc.&#x20;

Null Finance Swap currently supports **Ethereum, Polygon, Binance Smart Chain, Optimism, Fantom, Celo, Avalanche, Arbitrum One, and Base networks**. In addition, the top trading volume tokens of each network were monitored through each scan service and officially listed.


---

# 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, and the optional `goal` query parameter:

```
GET https://null-finance.gitbook.io/null-finance/swap/ai-path-finder-swap.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
