> 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/bsc/aggregator.md).

# Aggregator

- [Overview](https://docs.peach.ag/documentation/bsc/aggregator/readme.md): How BSC Aggregator finds routes and prepares swaps for the Execution Router.
- [Quickstart](https://docs.peach.ag/documentation/bsc/aggregator/quickstart.md): Get a quote and executable transaction with one allowance request, then confirm and submit.
- [Core Features](https://docs.peach.ag/documentation/bsc/aggregator/editor.md): Choose the guides for quotes, swap execution, fees and transaction safety.
- [Client Configuration](https://docs.peach.ag/documentation/bsc/aggregator/editor/configuration-and-error-handling.md): Configure the production API and RPC, handle wallet changes and recover from errors.
- [SDK Reference](https://docs.peach.ag/documentation/bsc/aggregator/editor/configuration-and-error-handling/sdk-reference.md): Public SDK methods, parameters, execution types and constants.
- [Quotes and Routing](https://docs.peach.ag/documentation/bsc/aggregator/editor/quotes-and-routing.md): Read prepared quotes and paths, choose providers and retain legacy quote compatibility.
- [Slippage](https://docs.peach.ag/documentation/bsc/aggregator/editor/slippage.md): Set slippage tolerance, display minimum received and understand settlement.
- [Fees](https://docs.peach.ag/documentation/bsc/aggregator/editor/fees-slippage-and-settlement.md): Configure integrator fees and distinguish gross output from recipient output.
- [Transaction Safety](https://docs.peach.ag/documentation/bsc/aggregator/editor/validation-approvals-and-expiry.md): Check prepared plans, approval spenders, deadlines and transaction outcomes.
- [Direct Swaps](https://docs.peach.ag/documentation/bsc/aggregator/editor/direct-allowance.md): Use Direct Allowance when one wallet supplies the tokens and submits the swap.
- [Native BNB](https://docs.peach.ag/documentation/bsc/aggregator/editor/direct-allowance/native-bnb.md): Swap native BNB and understand the sentinel address, WBNB and transaction value.
- [Delegated Swaps](https://docs.peach.ag/documentation/bsc/aggregator/editor/delegated-execution-with-permit2-witness.md): Use Permit2 Witness when the payer and executor are different accounts.
- [Migration Guide](https://docs.peach.ag/documentation/bsc/aggregator/editor/migration-guide.md): Update an existing integration to the swap methods introduced in SDK 0.5.0.
- [Contract Address](https://docs.peach.ag/documentation/bsc/aggregator/contract-address.md): BSC Mainnet contract addresses, approval targets and protocol dependencies.
- [Smart Contract Functions](https://docs.peach.ag/documentation/bsc/aggregator/smart-contract-functions.md): Understand the contract calls behind SDK preparation, approvals and execution.
- [Changelog](https://docs.peach.ag/documentation/bsc/aggregator/markdown.md): Release notes for the documented BSC Aggregator SDK 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.peach.ag/documentation/bsc/aggregator.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
