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.
During development, you can use the developer endpoints without an API key. For production use, request an API key for higher rate limits.
platformFeeScale, not platformFeeBps. The fee is calculated dynamically using the formula k * p * (1 - p) * c, where k is platformFeeScale / 1000, p is the outcome token price (0–1), and c is the trade volume. platformFeeMode is ignored for outcome token trades; the fee is always collected in the settlement mint.
Fee account setup
The
feeAccount parameter is required and must be a token account that holds the settlement mint (USDC or CASH). Outcome token accounts cannot receive the fee.Related Resources
Buy Outcome Tokens
Open a prediction market position from any input token.
Prediction Market Fees
How fees work for prediction markets, including the dynamic fee formula.
Add Platform Fees (Spot)
Add fees to standard spot swaps with
platformFeeBps.Authenticate Requests
Authenticate requests for production rate limits.