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

# Aggregator

Find routes across Arc liquidity and prepare swaps with the TypeScript SDK.

npm latest (checked 2026-09-15): 1.0.0.

Arc Aggregator searches available liquidity sources for a route between two tokens. Use `@masterpeach/arc-aggregator-sdk` to preview the result, show the user the net output and minimum they will accept, then prepare a transaction for Arc Execution Router after confirmation. The application submits that transaction through a wallet.

* [Overview](https://docs.peach.ag/documentation/arc/aggregator/overview) — package, execution flows, configuration, and Launchpad support.
* [Quickstart](https://docs.peach.ag/documentation/arc/aggregator/quickstart) — install, prepare, approve, simulate, and submit with viem.
* [Core Features](https://docs.peach.ag/documentation/arc/aggregator/core-features) — client configuration, quotes and routing, slippage, fees, transaction safety, and direct and delegated swaps.
* [Changelog](https://docs.peach.ag/documentation/arc/aggregator/changelog) — published versions and migration from 0.1.x.

Launchpad tokens can trade through the Aggregator before graduation and, after Uniswap V4 pool creation, continue trading through the Aggregator on V4. See [Trading before and after graduation](https://docs.peach.ag/documentation/arc/launchpad/core-features/trading-before-and-after-graduation).

The examples pin @masterpeach/arc-aggregator-sdk\@1.0.0, the stable npm release published on 2026-09-15. It includes the two-step API, V4 bytes32 pool IDs and deadline clock-skew handling. Use this version for these Testnet examples; do not infer mainnet API availability from the package version.


---

# 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.peach.ag/documentation/arc/aggregator.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.
