Features
- Best execution: JIT routing re-optimizes the route at execution time.
- Live market data: Quote and book streams push prices and depth without polling.
- Gasless swaps: Sponsor users’ transaction fees so they trade without holding SOL.
- Composable transactions: Bundle the returned transaction with your own instructions and run them atomically.
- Fine-grained control: Set slippage, priority fees, and venue restrictions per order.
- No protocol fee: DFlow charges none. Add your own platform fee.
How It Works
- The app requests an order from the
/orderendpoint with input mint, output mint, and amount, plus optional parameters like slippage, platform fees, priority fees, and venue restriction. - The user signs the returned transaction.
- The app submits it to a Solana RPC and confirms status.