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

# Routing and quotes

Which aggregators are asked, how a quote is chosen, and the checks before you sign.

## How your swap is routed

**Four routers, 50+ DEXs. The best executable route.**

Every swap asks four aggregators at once, and you get whichever one hands back the most tokens among the routes that pass our checks.

On a chain this young, that is not a detail. Measured on the race, no single router finds a route for half of it, and they don't all miss the same half. Asking only one would mean telling you a token can't be traded when it can.

We price each answer against our own on-chain reading before showing it. A route that would hand you far less than the token is worth is dropped, even when it promises the biggest pile of tokens. The router that served you is named under the price, every time. Prices move fast on thin pools, so the quote is taken again at the moment you sign instead of reusing what was on screen.

Nothing is signed for you. Your wallet sends the transaction, and the approval we ask for is the exact amount of that swap, never unlimited.

## The routers

| Router    | Notes                                                                             |
| --------- | --------------------------------------------------------------------------------- |
| KyberSwap | Aggregator API                                                                    |
| LI.FI     | Aggregator API                                                                    |
| Uniswap   | Uniswap's trading API. Its routes use Permit2: an approval, then a signed permit. |
| 0x        | Asked on every quote. When it doesn't answer, the other three carry on.           |

Together, they cover 50+ DEXs on Robinhood Chain. On 28 September 2026, KyberSwap alone listed 95 active liquidity sources on the chain, from 50 different DEXs (Uniswap v2, v3 and v4, PancakeSwap, SushiSwap, Curve, Pons and many more), and LI.FI adds 6 solvers of its own on top.

The list may change. Your browser never talks to the routers: TRNCH's servers ask them, check the answers and send you the transaction to sign.

## What the routers receive

To quote and build your swap, our server sends each router your wallet address (as the account that swaps), the token you pay, the token you receive, the amount and your maximum slippage. When a TRNCH service fee applies, the fee and the address that receives it are part of the request. LI.FI also receives our integrator name. Routers never receive your IP address from us.

## How a quote is checked

Each quote goes through three layers, in this order.

1. When at least three routers answer, each quote is compared with the median of the quotes. A quote below 80% or above 125% of the median is dropped.
2. Otherwise, the value of what you would receive is compared with the value of what you pay, at our reference prices. A quote that returns less than 80% or more than 125% of what you pay is dropped. Promising much more than the market is a sign the route goes through a pool whose price is wrong.
3. When no reference exists (a token too new, or no recent trade), the quote passes but is marked as not checked, and your maximum slippage is capped at 1%.

Among the quotes that pass, TRNCH keeps the one that returns the most tokens.

## The reference price

Our reference price for a token is the **median of its active pools**, read live by our relay. A pool known to hold less than $500 of depth is left out, and a reading older than two minutes is ignored. A token with no trade in the last six hours has no reference price. USDG counts as one dollar.

With three pools or more, one pool pushed by a large trade cannot drag the median on its own. With two, the median is their average. Many new tokens have a single pool, and the reference is then that pool's price. That is why quotes are first compared with each other when three routers or more answer.

## When you press Swap

1. The chosen router is asked again for a fresh quote, and the checks above run again.
2. The transaction is checked for consistency. If you pay with ETH, the ETH sent must equal your amount; if you pay with a token, no ETH may be sent. A transaction that doesn't match is refused by the server, and checked a second time in your browser.
3. Your wallet is moved to Robinhood Chain if it is elsewhere. If it stays on another network, nothing is sent.
4. If an approval is needed, you approve the exact amount. For Uniswap routes you also sign a permit, whose network is checked before you sign.
5. You sign the swap in your wallet. TRNCH records the transaction hash, so your volume is credited even if you close the tab.

## Price impact and slippage

Under the button, **Value vs market** compares what you receive with what you pay, at our reference prices, fees included. It turns orange from a 3% loss. From a 15% loss it turns red, and you have to accept the loss explicitly before the button works.

Your maximum slippage can be 0.5%, 1%, 3% or 5%, or any value from 0.1%. The default is 1%. Beyond it, the swap fails on-chain instead of executing, and you still pay the gas.

## Limits

Quotes and transactions are only prepared for a signed-in wallet. Each wallet can ask for 30 quotes and 30 transactions per minute, which is enough to quote and run a basket of ten lines. Swaps can also be paused for maintenance; the panel then says so and nothing can be sent.

If a swap fails, the error is recorded, with your wallet when you are signed in, so that we can look into it. See the [Privacy Policy](/legal/privacy.md).


---

# 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://docs.trnch.fun/trade/routing-and-quotes.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.
