Integration Overview
Call the Dispatcher for the selected deployment. The pool address is an argument identifying the accounting context; the Dispatcher is the call destination.
First integration
- Pin the network, Dispatcher, installed ABI, and reviewed source version from Deployments and ABIs.
- Discover pools and read state at a consistent block.
- Build distinct pay and receive Reserve Asset arrays.
- Request a settlement quote.
- Convert net output to token units and choose per-asset minimums.
- Approve external pay tokens and submit the exchange.
Pick the correct operation
| Goal | Quote | Execute |
|---|---|---|
| Exchange Reserve Assets | quoteMultiswapForSettlement or quoteMultiswapForExecution | multiswap |
| Issue LP Tokens | quoteProvideLiquidity | provideLiquidity |
| Redeem LP Tokens | quoteRemoveLiquidity | removeLiquidity |
| Submit a signed Reserve Asset order | Settlement quote, then signed intent | multiswapWithSignature |
All names refer to selectors installed in the Dispatcher. Their availability must be verified for the chosen deployment.
Quote values use packed Float encoding. Settlement quantities and minimums use integer token base units; receive allocations use six decimals. Mixing these encodings is an integration error.
See Units and Errors before assembling calldata.