Skip to main content

Documentation Index

Fetch the complete documentation index at: https://pond.dflow.net/llms.txt

Use this file to discover all available pages before exploring further.

DFlow charges no protocol fee on spot trades. Builders can add their own platform fees on top.
Spot trades on DFlow are imperative: the app specifies the trade parameters and DFlow returns a fully constructed transaction. The route is planned at quote time and re-optimized at execution by JIT routing.

How it works

  1. The app requests an order from the /order endpoint with input mint, output mint, and amount, plus optional parameters like slippage, platform fees, priority fees, and venue restriction.
  2. The user signs the returned transaction.
  3. The app submits it to a Solana RPC and confirms status.
Prediction market outcome tokens are SPL tokens too, so they route through the same /order endpoint. The flow on this page applies to both standard spot pairs and Kalshi outcome-token swaps.

What you get

Spot trading via /order gives you:
  • A composable transaction you can wrap with other instructions in the same tx.
  • A familiar quote/sign/send flow that mirrors existing Solana integrations.
  • Submission through your own RPC, with no dependency on DFlow’s execution layer.
  • Token-2022 support, including Kalshi outcome tokens.
DFlow also offers an intent-based declarative trade flow via GET /intent for stronger sandwich protection. The majority of builders stay on /order; /intent is the opt-in for apps where sandwich exposure matters more than transaction composability. Token-2022 mints (including Kalshi outcome tokens) are not supported on /intent.