DLN supports multiple quoting strategies that allow users to control how much is spent on the source chain and how much is received on the destination chain. Each strategy is defined by how theDocumentation Index
Fetch the complete documentation index at: https://docs.debridge.com/llms.txt
Use this file to discover all available pages before exploring further.
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.
Example: Order Input Structure
Choosing a Strategy
| Use Case | Recommended Strategy |
|---|---|
| Standard transfer with known input | Market Order |
| Full wallet balance transfer | Market Order with Full Balance |
| Target fixed destination output | Reverse Market Order |
| Exact 1-to-1 trade (limit) | Limit Order (not recommended) |