Skip to main content
Any Solana wallet that supports standard transaction signing is compatible.
Slippage depends on market liquidity and trade size, while fees include network fees plus any DEX, priority, or platform fees applied at execution.
Yes, trades are non-custodial and do not require KYC, unless your application adds its own requirements.
Sync trades settle atomically in one transaction, while async trades span multiple transactions; prediction markets are async because market interactions cannot be completed atomically.
No, user funds remain in the user’s wallet throughout the entire trade lifecycle.
Because when a market is uninitialized, the /order endpoint performs on-demand market tokenization (creating the YES/NO outcome tokens) before executing the swap, which incurs a small onchain account creation fee. See the full explanation here.
You can implement gasless swaps with our sponsor parameter.
No. Only specify a nonzero platformFeeBps if you will actually collect the fee at execution time. The API factors the declared fee into slippage tolerance calculations, so declaring a fee you don’t collect wastes slippage budget and results in suboptimal pricing for your users. See Platform Fees for details.
No. The Trading API does not set CORS headers, so browser requests will be blocked. You must proxy /order calls through your own backend. Most builders use a lightweight edge function (Cloudflare Workers, Vercel Edge Functions, etc.) to keep the added latency minimal.
No.

Need Help?

https://mintcdn.com/dflow/a8Yx7HBusmKl4Z7w/images/meteor-icons_discord.svg?fit=max&auto=format&n=a8Yx7HBusmKl4Z7w&q=85&s=0ea834bc8a9fa3fe161ba181329effda

Join Our Discord

Connect with other developers, get help, and stay updated on the latest DFlow developments.
https://mintcdn.com/dflow/a8Yx7HBusmKl4Z7w/images/meteor-icons_telegram.svg?fit=max&auto=format&n=a8Yx7HBusmKl4Z7w&q=85&s=e928c5dd68311ff0d419936a35c86eed

Dev Notifications

Join the DFlow Dev Notifications Telegram group to stay in the loop on new features and other announcements.