In this document, the term Duel refers to a Prediction as it’s used as the internal name on Duel Duck
This flow allows regular users to create their own predictions and resolve them after the deadline. Before this feature can be used, the project owner must enable user-created predictions and self-resolution through the API dashboard.Who: partner enables the feature; regular users create and resolve their own duels. Result: duel created by a user, other participants voted, the duel owner set the final result.
Step 1 — Partner enables user duels and self-resolve
The partner updates project permissions to enable:
user-created predictions,
self-resolution.
Both options must be enabled for users to fully manage their own predictions.PUT /me/projects/<PROJECT_ID>/permissionsAuthorization: Bearer <PARTNER_ACCESS_TOKEN>Content-Type: application/json
is_self_resolved_enabled: true only takes effect when is_users_duels_enabled: true. Without this step users cannot create duels.
Step 2 — User signs in with a wallet
Users authenticate with their wallet. The project API key (X-API-Key) must be included so the system knows which project the user belongs to.POST /auth/sign-in-walletX-API-Key: <API_KEY>Content-Type: application/json
Response is identical to email sign-in: jwt_info.access_token.
Step 3 — User creates a duel
Users create predictions through a blockchain transaction. Creating a duel is a three-step process: get the transaction → submit to blockchain → confirm.
3.1 Get the signed transaction
POST /duel/solana/sign-txAuthorization: Bearer <USER_ACCESS_TOKEN>X-API-Key: <API_KEY>Content-Type: application/json
{ "symbol": "SOL", "question": "Will SOL exceed $200 by end of week?", "source_of_truth": "https://coinmarketcap.com/currencies/solana/", "logo_url": "https://example.com/logo.png", "duel_price": 0.5, "price_type": "fixed", "commission_rate": 5, "is_owner_resolving": true, "deadline": "2026-05-16T18:00:00Z", "duel_info": {}}
> is_owner_resolving: true is required for self-resolve to work.Response:{ "tx": "<BASE64_TRANSACTION>" }
3.2 The user signs and submits the transaction to Solana, obtaining a tx_hash.
3.3 Confirm duel creation
POST /duel/solanaAuthorization: Bearer <USER_ACCESS_TOKEN>X-API-Key: <API_KEY>Content-Type: application/json
{ "duel": { "symbol": "SOL", "question": "Will SOL exceed $200 by end of week?", "source_of_truth": "https://coinmarketcap.com/currencies/solana/", "logo_url": "https://example.com/logo.png", "duel_price": 0.5, "price_type": "fixed", "commission_rate": 5, "is_owner_resolving": true, "deadline": "2026-05-16T18:00:00Z", "duel_info": {} }, "tx_hash": "<TX_HASH>"}
Other users join the prediction using the same blockchain transaction flow used in admin-created predictions.
Step 5 — Duel owner resolves the duel
After the deadline, the prediction creator submits the final outcome. Only the original creator can perform this action.PUT /duel/self-resolveAuthorization: Bearer <OWNER_ACCESS_TOKEN>X-API-Key: <API_KEY>Content-Type: application/json
{ "duel_id": "<DUEL_ID>", "answer": 2}
> Only the duel creator can call this endpoint. Any other user will receive an error.Response:
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Duel Duck Prediction API","colors":{"primary":"#FFC54D","light":"#A7A7A7","dark":"#151515"},"logo":{"light":"https://mintcdn.com/duelduck/RcI9WyHiEdoJpi26/images/Frame2118531342.svg?fit=max\u0026auto=format\u0026n=RcI9WyHiEdoJpi26\u0026q=85\u0026s=088795e3d134cf7385d2693c6c970131","dark":"https://mintcdn.com/duelduck/RcI9WyHiEdoJpi26/images/Frame2118531342(1).svg?fit=max\u0026auto=format\u0026n=RcI9WyHiEdoJpi26\u0026q=85\u0026s=de17c20ca3fae2da97d2f71cf9a1a353","href":"https://duelduck.com/"},"favicon":"https://mintcdn.com/duelduck/SNlKPm1VSzhJZN_y/images/logo.png?fit=max\u0026auto=format\u0026n=SNlKPm1VSzhJZN_y\u0026q=85\u0026s=c18488085d2c1e656e05503f15353ea1","appearance":{"default":"dark"},"background":{"decoration":"gradient","color":{"light":"#FFFFFF","dark":"#070707"}},"navbar":{"links":[{"href":"https://discord.com/invite/bDdTRheD2a","label":"Get help"}]},"footer":{"socials":{"x":"https://x.com/duel_duck","telegram":"https://t.me/duelduck","youtube":"https://www.youtube.com/@DuelDuck","discord":"https://discord.com/invite/bDdTRheD2a","website":"https://duelduck.com"},"links":[{"header":"Explore","items":[{"label":"Prediction API","href":"https://duelduck.com/api"},{"label":"API dashboard","href":"https://duelduck.com/api"}]},{"header":"Legal \u0026 Rules ","items":[{"label":"Terms \u0026 Conditions","href":"https://duelduck.com/terms-and-conditions"},{"label":"Prohibited prediction types","href":"https://duelduck.com/prohibited-duel-types"},{"label":"Prediction resolution rules","href":"https://duelduck.com/resolve-rules"}]}]},"fonts":{"family":"Poppins","weight":400},"styling":{"codeblocks":"dark","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/duelduck/yepA8quLmLYe8xhi/images/card(1).png?fit=max\u0026auto=format\u0026n=yepA8quLmLYe8xhi\u0026q=85\u0026s=4ed2238b84cb4fc6ed7b45527cc77511","fonts":{"family":" Poppins"}},"interaction":{"drilldown":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"duelduck","hasAudioNarration":false,"actualSubdomain":"duelduck","customDomains":["docs.duelduck.com"],"gitSource":{"type":"github","owner":"mol0d337","repo":"docs","deployBranch":"main","isPrivate":false,"contentDirectory":"","mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae956e4021c491c8f59aead:success","clientVersion":"0.0.4177","searchFilterCounts":[{"language":"default","tag":"API reference","count":33},{"language":"default","tag":"Endpoints","count":30},{"language":"default","tag":"Predictions","count":15},{"language":"default","tag":"Documentation","count":11},{"language":"default","tag":"Admin","count":6},{"language":"default","tag":"Core Concepts","count":5},{"language":"default","tag":"Tokens","count":4},{"language":"default","tag":"Main API flows","count":3},{"language":"default","tag":"User flows","count":3},{"language":"default","tag":"Users","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"user-prediction-creation-and-self-resolve","slug":"/user-prediction-creation-and-self-resolve","pageMetadata":{"title":"User prediction creation and self-resolve","description":null,"href":"/user-prediction-creation-and-self-resolve"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={br:`br`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsx(_components.p,{children:`In this document, the term Duel refers to a Prediction as it’s used as the internal name on Duel Duck`})}),`\n`,_jsx(_components.p,{children:`This flow allows regular users to create their own predictions and resolve them after the deadline. Before this feature can be used, the project owner must enable user-created predictions and self-resolution through the API dashboard.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Who:`}),` partner enables the feature; regular users create and resolve their own duels. `,_jsx(_components.br,{}),`\n`,_jsx(_components.strong,{children:`Result:`}),` duel created by a user, other participants voted, the duel owner set the final result.`]}),`\n`,_jsx(Heading,{level:`3`,id:`step-1-—-partner-enables-user-duels-and-self-resolve`,children:`Step 1 — Partner enables user duels and self-resolve`}),`\n`,_jsx(_components.p,{children:`The partner updates project permissions to enable:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`user-created predictions,`}),`\n`,_jsx(_components.li,{children:`self-resolution.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Both options must be enabled for users to fully manage their own predictions.`}),`\n`,_jsx(`kbd`,{children:`PUT /me/projects/\u003cPROJECT_ID>/permissions`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Authorization:`}),` Bearer \u003cPARTNER_ACCESS_TOKEN>`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Content-Type:`}),` application/json`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"is_users_duels_enabled\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"is_self_resolved_enabled\": true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`is_self_resolved_enabled: true`}),` only takes effect when `,_jsx(_components.code,{children:`is_users_duels_enabled: true`}),`. Without this step users cannot create duels.`]}),`\n`,_jsx(Heading,{level:`3`,id:`step-2-—-user-signs-in-with-a-wallet`,children:`Step 2 — User signs in with a wallet`}),`\n`,_jsxs(_components.p,{children:[`Users authenticate with their wallet. The project API key (`,_jsx(_components.code,{children:`X-API-Key`}),`) must be included so the system knows which project the user belongs to.`]}),`\n`,_jsx(`kbd`,{children:`POST /auth/sign-in-wallet`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`X-API-Key:`}),` \u003cAPI_KEY>`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Content-Type:`}),` application/json`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"address\": \"\u003cSOLANA_WALLET_ADDRESS>\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"secret\": \"\u003cSIGNED_MESSAGE>\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Response`}),` is identical to email sign-in: `,_jsx(_components.code,{children:`jwt_info.access_token`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`step-3-—-user-creates-a-duel`,children:`Step 3 — User creates a duel`}),`\n`,_jsx(_components.p,{children:`Users create predictions through a blockchain transaction. Creating a duel is a three-step process: get the transaction → submit to blockchain → confirm.`}),`\n`,_jsx(Heading,{level:`4`,id:`3-1-get-the-signed-transaction`,children:_jsx(_components.strong,{children:`3.1 Get the signed transaction`})}),`\n`,_jsx(`kbd`,{children:`POST /duel/solana/sign-tx`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Authorization:`}),` Bearer \u003cUSER_ACCESS_TOKEN>`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`X-API-Key:`}),` \u003cAPI_KEY>`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Content-Type:`}),` application/json`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`24`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`24`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"symbol\": \"SOL\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"question\": \"Will SOL exceed $200 by end of week?\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"source_of_truth\": \"https://coinmarketcap.com/currencies/solana/\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"logo_url\": \"https://example.com/logo.png\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"duel_price\": 0.5,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"price_type\": \"fixed\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"commission_rate\": 5,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"is_owner_resolving\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"deadline\": \"2026-05-16T18:00:00Z\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"duel_info\": {}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`> `,_jsx(_components.code,{children:`is_owner_resolving: true`}),` is required for self-resolve to work.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Response:`}),` `,_jsx(_components.code,{children:`{ \"tx\": \"\u003cBASE64_TRANSACTION>\" }`})]}),`\n`,_jsxs(Heading,{level:`4`,id:`3-2-the-user-signs-and-submits-the-transaction-to-solana-obtaining-a-tx_hash`,children:[_jsx(_components.strong,{children:`3.2`}),` The user signs and submits the transaction to Solana, obtaining a `,_jsx(_components.code,{children:`tx_hash`}),`.`]}),`\n`,_jsx(Heading,{level:`4`,id:`3-3-confirm-duel-creation`,children:_jsx(_components.strong,{children:`3.3 Confirm duel creation`})}),`\n`,_jsx(`kbd`,{children:`POST /duel/solana`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Authorization:`}),` Bearer \u003cUSER_ACCESS_TOKEN>`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`X-API-Key:`}),` \u003cAPI_KEY>`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Content-Type:`}),` application/json`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`30`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`30`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"duel\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"symbol\": \"SOL\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"question\": \"Will SOL exceed $200 by end of week?\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"source_of_truth\": \"https://coinmarketcap.com/currencies/solana/\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"logo_url\": \"https://example.com/logo.png\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"duel_price\": 0.5,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"price_type\": \"fixed\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"commission_rate\": 5,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"is_owner_resolving\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"deadline\": \"2026-05-16T18:00:00Z\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"duel_info\": {}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"tx_hash\": \"\u003cTX_HASH>\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Response:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"duel\": { \"id\": \"\u003cDUEL_ID>\", \"status\": 2, \"is_owner_resolving\": true, ... },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"result\": { \"tx_hash\": \"\u003cTX_HASH>\" }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`3`,id:`step-4-—-other-users-join-the-duel`,children:`Step 4 — Other users join the duel`}),`\n`,_jsx(_components.p,{children:`Other users join the prediction using the same blockchain transaction flow used in admin-created predictions.`}),`\n`,_jsx(Heading,{level:`3`,id:`step-5-—-duel-owner-resolves-the-duel`,children:`Step 5 — Duel owner resolves the duel`}),`\n`,_jsx(_components.p,{children:`After the deadline, the prediction creator submits the final outcome. Only the original creator can perform this action.`}),`\n`,_jsx(`kbd`,{children:`PUT /duel/self-resolve`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Authorization:`}),` Bearer \u003cOWNER_ACCESS_TOKEN>`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`X-API-Key:`}),` \u003cAPI_KEY>`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Content-Type:`}),` application/json`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"duel_id\": \"\u003cDUEL_ID>\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"answer\": 2`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`> Only the duel creator can call this endpoint. Any other user will receive an error.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Response:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`json`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"tx_hashes\": [\"\u003cTX_HASH_1>\", \"\u003cTX_HASH_2>\"],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"duel\": { \"id\": \"\u003cDUEL_ID>\", \"status\": 4, \"final_result\": 2, ... }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"User prediction creation and self-resolve","description":null,"href":"/user-prediction-creation-and-self-resolve"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Step 1 — Partner enables user duels and self-resolve","slug":"step-1-—-partner-enables-user-duels-and-self-resolve","depth":3,"children":[]},{"title":"Step 2 — User signs in with a wallet","slug":"step-2-—-user-signs-in-with-a-wallet","depth":3,"children":[]},{"title":"Step 3 — User creates a duel","slug":"step-3-—-user-creates-a-duel","depth":3,"children":[]},{"title":"3.1 Get the signed transaction","slug":"3-1-get-the-signed-transaction","depth":4,"children":[]},{"title":"3.2 The user signs and submits the transaction to Solana, obtaining a tx_hash.","slug":"3-2-the-user-signs-and-submits-the-transaction-to-solana-obtaining-a-tx_hash","depth":4,"children":[]},{"title":"3.3 Confirm duel creation","slug":"3-3-confirm-duel-creation","depth":4,"children":[]},{"title":"Step 4 — Other users join the duel","slug":"step-4-—-other-users-join-the-duel","depth":3,"children":[]},{"title":"Step 5 — Duel owner resolves the duel","slug":"step-5-—-duel-owner-resolves-the-duel","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"duelduck","siteName":"Duel Duck Prediction API","title":"User prediction creation and self-resolve - Duel Duck Prediction API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-18T21:11:14.948Z","originalFileLocation":"user-prediction-creation-and-self-resolve.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Duel Duck Prediction API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/duelduck/aP-5sApvNx00lz89/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/duelduck/aP-5sApvNx00lz89/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/duelduck/aP-5sApvNx00lz89/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/duelduck/aP-5sApvNx00lz89/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/duelduck/aP-5sApvNx00lz89/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/duelduck/aP-5sApvNx00lz89/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/duelduck/aP-5sApvNx00lz89/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/duelduck/aP-5sApvNx00lz89/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/duelduck/aP-5sApvNx00lz89/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"User prediction creation and self-resolve - Duel Duck Prediction API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Duel Duck Prediction API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.duelduck.com/user-prediction-creation-and-self-resolve\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://duelduck.mintlify.site/_mintlify/api/og/v2?division=Main+API+flows\u0026amp;title=User+prediction+creation+and+self-resolve\u0026amp;theme=cdbb04b6c3b56e14b0372502\u0026amp;signature=aa4f18cfe1b37a6ddf95601a7c2a607e9c00f6b763bfab7cae5f1ab00d3a7c71\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"User prediction creation and self-resolve - Duel Duck Prediction API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://duelduck.mintlify.site/_mintlify/api/og/v2?division=Main+API+flows\u0026amp;title=User+prediction+creation+and+self-resolve\u0026amp;theme=cdbb04b6c3b56e14b0372502\u0026amp;signature=aa4f18cfe1b37a6ddf95601a7c2a607e9c00f6b763bfab7cae5f1ab00d3a7c71\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/duelduck/aP-5sApvNx00lz89/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Duel Duck Prediction API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FFC54D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.duelduck.com/user-prediction-creation-and-self-resolve\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/user-prediction-creation-and-self-resolve.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.duelduck.com/#organization\",\"name\":\"Duel Duck Prediction API\",\"url\":\"https://docs.duelduck.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/duelduck/RcI9WyHiEdoJpi26/images/Frame2118531342.svg?fit=max\u0026auto=format\u0026n=RcI9WyHiEdoJpi26\u0026q=85\u0026s=088795e3d134cf7385d2693c6c970131\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.duelduck.com#website\",\"name\":\"Duel Duck Prediction API\",\"url\":\"https://docs.duelduck.com\",\"publisher\":{\"@id\":\"https://docs.duelduck.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.duelduck.com/user-prediction-creation-and-self-resolve#webpage\",\"url\":\"https://docs.duelduck.com/user-prediction-creation-and-self-resolve\",\"name\":\"User prediction creation and self-resolve\",\"dateModified\":\"2026-05-18T21:11:14.948Z\",\"isPartOf\":{\"@id\":\"https://docs.duelduck.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.duelduck.com/user-prediction-creation-and-self-resolve#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.duelduck.com/user-prediction-creation-and-self-resolve#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Main API flows\",\"item\":\"https://docs.duelduck.com/project-creation\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"User prediction creation and self-resolve\",\"item\":\"https://docs.duelduck.com/user-prediction-creation-and-self-resolve\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.duelduck.com/user-prediction-creation-and-self-resolve#article\",\"headline\":\"User prediction creation and self-resolve\",\"name\":\"User prediction creation and self-resolve\",\"url\":\"https://docs.duelduck.com/user-prediction-creation-and-self-resolve\",\"mainEntityOfPage\":{\"@id\":\"https://docs.duelduck.com/user-prediction-creation-and-self-resolve#webpage\"},\"dateModified\":\"2026-05-18T21:11:14.948Z\",\"publisher\":{\"@id\":\"https://docs.duelduck.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.duelduck.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Duel Duck Prediction API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Duel Duck Prediction API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/user-prediction-creation-and-self-resolve.md","siteName":"Duel Duck Prediction API","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"files","pages":[{"title":"Documentation","href":"/overview"}]},{"tab":"API reference","icon":"code","groups":[{"group":"Main API flows","icon":"book-bookmark","pages":[{"title":"Project creation","href":"/project-creation"},{"title":"Admin prediction creation and resolve","description":null,"href":"/admin-prediction-creation-and-resolve"},{"title":"User prediction creation and self-resolve","href":"/user-prediction-creation-and-self-resolve"}]},{"group":"Endpoints","icon":"gear-complex-code","pages":[{"group":"Authentication","icon":"shield-check","pages":[{"title":"POST /auth/sign-in-wallet","description":null,"href":"/sign-in-wallet"},{"title":"POST /auth/refresh","href":"/refresh"}]},{"group":"Admin","icon":"user-shield","pages":[{"title":"POST /admin/duel","href":"/admin-duel"},{"title":"PUT /admin/duel/approve","href":"/admin-duel-approve"},{"title":"PUT /admin/duel/cancel","href":"/admin-duel-cancel"},{"title":"PUT /admin/duel/edit","href":"/admin-duel-edit"},{"title":"PUT /admin/duel/resolve","href":"/admin-duel-resolve"},{"title":"GET /admin/duel/upload-image","href":"/admin-duel-upload-image"}]},{"group":"Predictions","icon":"block-question","pages":[{"title":"GET /duel/all","href":"/duel-all"},{"title":"GET /duel/all-with-joined","href":"/duel-all-with-joined"},{"title":"GET /duel/history","href":"/duel-history"},{"title":"GET /duel/my","href":"/duel-my"},{"title":"GET /duel/participating","href":"/duel-participating"},{"title":"GET /duel/public/{id}","href":"/duel-public"},{"title":"PUT /duel/self-resolve","href":"/duel-self-resolve"},{"title":"POST /duel/solana","href":"/duel-solana"},{"title":"POST /duel/solana/join","href":"/duel-solana-join"},{"title":"POST /duel/solana/join/sign-tx","href":"/duel-solana-join-sign-tx"},{"title":"POST /duel/solana/sign-tx","href":"/duel-solana-sign-tx"},{"title":"POST /duel/upload-image","href":"/duel-upload-image"},{"title":"GET /duel/status-counts","href":"/duel-status-counts"},{"title":"GET /duel/token-accounts","href":"/duel-token-accounts"},{"title":"GET /duel/{id}","href":"/duel-id"}]},{"group":"Tokens","icon":"coins","pages":[{"title":"GET /coins/mint/{mint}","href":"/coins-mint"},{"title":"GET /coins/name/{name}","href":"/coins-name"},{"title":"GET /coins/solana-tokens","href":"/coins-solana-tokens"},{"title":"GET /coins/solana-tokens/price","href":"/coins-solana-tokens-price"}]},{"group":"Users","icon":"users","pages":[{"title":"GET /user/me","href":"/user-me"},{"title":"GET /user/me/financial-history","href":"/user-me-financial-history"},{"title":"GET /me/projects","href":"/me-projects"}]}]}]}]},"basePath":"","title":"User prediction creation and self-resolve - Duel Duck Prediction API","deploymentId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","buildId":"dpl_HhUetB7eHHDAmK9T1Teip38TgFx9","dynamics":[],"chunks":[]}