Aggregator Integration
Aggregators should integrate Multiswap as a venue that can win on Effective Depth.
Route types
Multiswap supports:
- single pay, single receive,
- single pay, multiple receive assets,
- multiple pay assets, single receive,
- multiple pay assets, multiple receive assets.
Quote comparison
Compare routes by:
- output amount,
- price impact,
- gas,
- fees,
- minimum receive,
- route reliability,
- asset support.
Basket routes
Basket receives create a new routing surface. An aggregator can offer portfolio-level outputs where a user wants target exposure instead of a single asset.
Example:
USDC -> 50% USDT + 50% ETH
Useful quote metadata
A high-quality integration should expose:
- pay assets and amounts,
- receive assets and allocations,
- expected receive amounts,
- minimum receive amounts,
- price impact,
- value flow,
- fees,
- Router address.
Routing principle
The best market wins the quote.