General
Which wallets are supported?
Which wallets are supported?
Does DFlow custody user funds?
Does DFlow custody user funds?
Do users need to KYC to trade?
Do users need to KYC to trade?
Does DFlow charge a protocol fee on spot trades?
Does DFlow charge a protocol fee on spot trades?
Does DFlow take positive slippage?
Does DFlow take positive slippage?
Does DFlow support Pump.fun tokens?
Does DFlow support Pump.fun tokens?
Will DFlow support limit orders?
Will DFlow support limit orders?
Trading & Routing
How do I trade with native SOL?
How do I trade with native SOL?
So11111111111111111111111111111111111111112) as inputMint or outputMint and set wrapAndUnwrapSol=true. DFlow auto-wraps and unwraps SOL.In POST /swap, what should destinationTokenAccount.address be for native SOL output?
In POST /swap, what should destinationTokenAccount.address be for native SOL output?
What's the difference between price impact and slippage?
What's the difference between price impact and slippage?
What's the maximum price impact allowed on a trade?
What's the maximum price impact allowed on a trade?
price_impact_too_high error. Override with priceImpactTolerancePct.How does DFlow handle multiple token accounts for the same mint?
How does DFlow handle multiple token accounts for the same mint?
destinationTokenAccount on /order; output lands in that account even if it isn’t the ATA.What is JIT routing?
What is JIT routing?
Does DFlow offer an intent-based swap?
Does DFlow offer an intent-based swap?
/order (imperative): the app signs a fully constructed transaction and submits through its own RPC. The intent flow (GET /intent + POST /submit-intent) gives stronger sandwich resistance on standard SPL pairs: the user signs an open order without a fixed route, and DFlow submits the open order and fill atomically as a Jito bundle. Token-2022 mints aren’t supported on /intent.Why do intermediate token accounts and residual dust sometimes remain after a swap?
Why do intermediate token accounts and residual dust sometimes remain after a swap?
- Full consumption: If subsequent legs consume the intermediate amount, the accounts are closed.
- Partial consumption: If a residual remains (venue rounding, leg constraints), the accounts stay open with small dust.
Fees & Sponsorship
What fees apply to a trade?
What fees apply to a trade?
How do I set a priority fee on a trade?
How do I set a priority fee on a trade?
prioritizationFeeLamports on /order as a lamport amount or one of auto, medium, high, veryHigh, disabled. See Priority Fees for the two fee modes.Does DFlow support gas sponsorship?
Does DFlow support gas sponsorship?
sponsor parameter on /order to have a sponsor wallet cover the transaction fee.Should I set platformFeeBps if I'm not collecting a fee?
Should I set platformFeeBps if I'm not collecting a fee?
platformFeeBps into slippage tolerance, so declaring a fee you don’t collect wastes slippage budget and gives users worse pricing. See Platform Fees.Troubleshooting
Why is my trade failing with "exceeded CUs meter at BPF instruction"?
Why is my trade failing with "exceeded CUs meter at BPF instruction"?
dynamicComputeUnitLimit=true on /order to have the API size the limit automatically.Does dynamicComputeUnitLimit add latency?
Does dynamicComputeUnitLimit add latency?
dynamicComputeUnitLimit may add latency; however, it depends on the rest of your parameters.Can I call /order directly from the browser?
Can I call /order directly from the browser?
/order through your backend; most builders use an edge function (Cloudflare Workers, Vercel Edge Functions) to keep added latency low.