srcChainTokenInAmount and dstChainTokenOutAmount fields
are set in the order input.
Quoting Strategies Overview
Market Order (Recommended)
- Default and most commonly used strategy.
- User defines the exact input amount.
- Protocol determines the best output amount.
srcChainTokenInAmount= fixed numeric valuedstChainTokenOutAmount= “auto”
Market Order with Full Balance Utilization
- Spends the full wallet balance.
- Useful for account abstraction, batch transfers, smart wallets.
srcChainTokenInAmount= “max”dstChainTokenOutAmount= “auto”
Reverse Market Order
- User specifies how much to receive.
- Protocol calculates how much must be spent.
- Ideal for payment flows or contract interactions.
srcChainTokenInAmount= “auto”dstChainTokenOutAmount= fixed numeric value
An interesting use-case is improving user experience by
determining the minimum input token amount dynamically.
Limit Order (Not Recommended)
- Defines both input and output amounts.
- Treated as a limit order.
- Will only be fulfilled if a solver accepts the exact terms.
- Both values must be fixed.