Definition
The Aggregator builds candidate paths from the current pool snapshot, scores output for each path, and allocates the requested amount across one or more paths. The quote response reports the amount, price impact, and optional path breakdown.Decision Table
Algorithm Choices
The Stellar Aggregator selects routing internally. Use
maxSplits, maxHops, platform, and includePaths instead of an algorithm parameter.
Worked Example
amountOutis present and non-zero.pathsis present whenincludePaths=true.- Each
paths[].splitPpmvalue adds up to1000000across active paths.

