Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.duelduck.com/llms.txt

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

A prediction is a market based on a future event where users choose between two possible outcomes: Yes or No. Each prediction represents a clearly defined question with a verifiable outcome. Users participate by staking funds on the result they believe will happen before the prediction deadline is reached. Every prediction includes several core components:
  • Question — a clear statement describing the future event;
  • Deadline — the date and time after which voting is closed;
  • Outcome options — Yes or No;
  • Currency — the token used for participation (SOL, USDC, or other SPL tokens);
  • Pricing model — fixed vote amount or flexible stake range;
  • Fee — platform commission applied during reward distribution;
  • Image — optional visual representation for the prediction card.
Prediction questions should always be clear, objectively verifiable, and aligned with the platform’s content and resolution standards. You can read more about restricted market categories and unsupported prediction formats in the Prohibited Duel Types section. Once created, predictions become available on the platform through the API and can be displayed directly in your frontend interface. All voting activity and fund management are processed through Solana smart contracts. User stakes are securely held within the prediction system until the market is resolved and rewards are distributed automatically.