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.
Why am I getting route_not_found?
Why am I getting route_not_found?
amount is in atomic units (scaled by the input token’s decimals, e.g. 5000000 for 5 USDC).Can I use token symbols like "USDC" with the API?
Can I use token symbols like "USDC" with the API?
dflow CLI resolves a small set of common symbols, but the API does not.)How do I get a price quote without a connected wallet?
How do I get a price quote without a connected wallet?
/order without userPublicKey. It returns the price fields (inAmount, outAmount, priceImpactPct) and no transaction, so you can show a price before the user has connected a wallet. A separate /quote endpoint still works, but /order is preferred for new integrations.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.Can I connect to the market-data streams from the browser?
Can I connect to the market-data streams from the browser?
My API key works for /order but the stream rejects it. Why?
My API key works for /order but the stream rejects it. Why?
/order can still be refused on the stream until the team enables stream access on that specific key. So if a working key is rejected only on the stream, that’s a key permission, not a bug in your integration; request stream access from the team.Proof
Who provides KYC for Proof?
Who provides KYC for Proof?
Is there a fee to use Proof?
Is there a fee to use Proof?
Does Proof work with embedded wallet providers like Privy?
Does Proof work with embedded wallet providers like Privy?
https://dflow.net/proof to complete KYC, with a redirect URL to send them back to your app after verification.Why isn't my Proof redirect firing after verification?
Why isn't my Proof redirect firing after verification?
https:, moz-extension://, or chrome-extension: URLs. Custom schemes (e.g. myapp://callback) silently fail. Native mobile apps should use universal links (iOS) or app links (Android). See redirect_uri parameter docs.