inputAmount
can result in significant and often unacceptable slippage. The Partial Fill Orders feature addresses this by dynamically determining and executing only the optimal portion of a trade
SELL
order) would cause the trade to exceed an acceptable slippage tolerance or result in an unprofitably high price impact, the router calculates the largest possible portion of the trade that can still be executed efficientlyinputToken
that can be efficiently tradedoutputToken
achievable with the suggested inputisPartialFill: true
, the router might determine that only 730 USDC can be traded efficiently (eg: with 0.5% slippage). In this case, the quote response would suggest using 730 USDC as the effectiveInputAmount
and provide the corresponding effectiveOutputAmount
, allowing the user to execute the most efficient part of their desired trade
/v1/price
or /v1/quote
API request by setting the isPartialFill
parameter to true
: