Returns the account’s active protected trials plus a paginated terminal
history (organic closes and admin resets). limit/offset apply to
history only. An optional campaign_addr scopes the whole response.
Compat slot: the active trial in the requested campaign, or the most
recent across campaigns.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Decibel","colors":{"primary":"#FFBE0B","light":"#FFBE0B","dark":"#bf8e06"},"logo":{"light":"https://mintcdn.com/aptoslabs/v1mrvWAEF-j2Vo20/logo/fullmark_black.png?fit=max\u0026auto=format\u0026n=v1mrvWAEF-j2Vo20\u0026q=85\u0026s=8606664ecd7f84268c69aaeee50e6b4d","dark":"https://mintcdn.com/aptoslabs/v1mrvWAEF-j2Vo20/logo/fullmark_white.png?fit=max\u0026auto=format\u0026n=v1mrvWAEF-j2Vo20\u0026q=85\u0026s=d075df97c850a126ba8a120405120167"},"favicon":"https://mintcdn.com/aptoslabs/v1mrvWAEF-j2Vo20/favicon.ico?fit=max\u0026auto=format\u0026n=v1mrvWAEF-j2Vo20\u0026q=85\u0026s=b2f8f37db1b7d8632d17ad0ca8065eda","navbar":{"links":[{"href":"https://docs.decibel.trade/llms.txt","label":"LLMs.txt"},{"href":"https://discord.gg/decibel","label":"Support"}]},"footer":{"socials":{"x":"https://x.com/DecibelTrade"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aptoslabs","hasAudioNarration":false,"actualSubdomain":"aptoslabs","customDomains":["docs.decibel.trade"],"gitSource":{"type":"github","owner":"aptos-labs","repo":"etna","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aeb892df3783a031a51ac5e","collectionId":"ec21577c-8a5c-4d55-a915-d22f7cc8be1e","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeb892df3783a031a51ac5e"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeb892df3783a031a51ac5e","clientVersion":"0.0.4064","searchFilterCounts":[{"language":"default","tag":"API: REST","count":84},{"language":"default","tag":"Developer Hub","count":53},{"language":"default","tag":"API: WebSocket","count":20},{"language":"default","tag":"For Traders","count":18},{"language":"default","tag":"Websockets","count":18},{"language":"default","tag":"Referrals","count":15},{"language":"default","tag":"Market Data","count":13},{"language":"default","tag":"On-Chain: Order Management","count":11},{"language":"default","tag":"Account","count":9},{"language":"default","tag":"Rewards Programs","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"llms-txt-v2","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":"vite-origin","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/campaigns/get-accounts-protected-fft-trials","slug":"/api-reference/campaigns/get-accounts-protected-fft-trials","pageMetadata":{"title":"Get account's protected (FFT) trials","description":"Returns the account's active protected trials plus a paginated terminal\nhistory (organic closes and admin resets). `limit`/`offset` apply to\n`history` only. An optional `campaign_addr` scopes the whole response.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/protected_trials","href":"/api-reference/campaigns/get-accounts-protected-fft-trials","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Returns the account’s active protected trials plus a paginated terminal\\nhistory (organic closes and admin resets). \", _jsx(_components.code, {\n children: \"limit\"\n }), \"/\", _jsx(_components.code, {\n children: \"offset\"\n }), \" apply to\\n\", _jsx(_components.code, {\n children: \"history\"\n }), \" only. An optional \", _jsx(_components.code, {\n children: \"campaign_addr\"\n }), \" scopes the whole response.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get account's protected (FFT) trials","description":"Returns the account's active protected trials plus a paginated terminal\nhistory (organic closes and admin resets). `limit`/`offset` apply to\n`history` only. An optional `campaign_addr` scopes the whole response.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/protected_trials","href":"/api-reference/campaigns/get-accounts-protected-fft-trials","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Campaigns"],"summary":"Get account's protected (FFT) trials","description":"Returns the account's active protected trials plus a paginated terminal\nhistory (organic closes and admin resets). `limit`/`offset` apply to\n`history` only. An optional `campaign_addr` scopes the whole response.","operationId":"handle_protected_trials","parameters":["4bb2e2b2-a7cd-413d-97a7-76f7702e6f2e","598e6973-1524-4c66-96ca-b8d7a55a22fa","9a177ee9-6aa2-4b82-ab38-79cba327f738","95efa76c-009e-468d-bcd7-37dc7f40c539"],"responses":{"200":"c835729f-aa33-45f9-b217-5a746f4608aa","400":"9fa251a7-8cd9-4c56-a0fa-d17689189372","500":"15fc7923-4b67-4b53-8ed8-8b17093e568d"},"method":"get","type":"path","servers":["c8273ef7-994d-4342-9047-9767e0deeea2","da7ecace-9492-4874-924e-a7578376481a"],"security":["358308dd-965e-42e6-b033-30b919be0b62"],"path":"/api/v1/protected_trials","baseUrlOptions":["https://api.mainnet.aptoslabs.com/decibel","https://api.testnet.aptoslabs.com/decibel"],"title":"Get account's protected (FFT) trials","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"4bb2e2b2-a7cd-413d-97a7-76f7702e6f2e":{"name":"account","in":"query","description":"User account address (`user` query alias is also accepted)","required":true,"schema":{"type":"string","isRequired":true,"description":"User account address (`user` query alias is also accepted)","uniqueKey":"","typeLabel":"string"}},"598e6973-1524-4c66-96ca-b8d7a55a22fa":{"name":"campaign_addr","in":"query","description":"Optional campaign address filter (default: all campaigns)","required":false,"schema":{"type":"string","isRequired":false,"description":"Optional campaign address filter (default: all campaigns)","uniqueKey":"","typeLabel":"string"}},"9a177ee9-6aa2-4b82-ab38-79cba327f738":{"name":"limit","in":"query","description":"Page size — paginates `history` only","required":false,"schema":{"type":"integer","format":"int32","default":10,"maximum":200,"minimum":0,"isRequired":false,"description":"Page size — paginates `history` only","uniqueKey":"","typeLabel":"integer\u003cint32>"},"example":100},"95efa76c-009e-468d-bcd7-37dc7f40c539":{"name":"offset","in":"query","description":"Page offset — paginates `history` only","required":false,"schema":{"type":"integer","format":"int32","default":0,"maximum":10000,"minimum":0,"isRequired":false,"description":"Page offset — paginates `history` only","uniqueKey":"","typeLabel":"integer\u003cint32>"},"example":0}},"responses":{"c835729f-aa33-45f9-b217-5a746f4608aa":{"description":"Protected trials retrieved successfully","content":{"application/json":{"schema":{"type":"object","required":["account","active_trials","history","history_total_count"],"properties":{"account":{"type":"string","isRequired":true,"uniqueKey":"account","typeLabel":"string"},"active_trials":{"type":"array","items":{"type":"object","description":"A protected trial. Presence rules: open-sourced fields are absent only on\ndegraded WS reset rows (enrichment miss); `size` is always emitted, null on\nunknown market; mark_at_close appears on organic closes only; the remaining\nterminal fields appear on closed/reset rows only.","required":["trial_id","user","campaign_addr","status"],"properties":{"campaign_addr":{"type":"string","isRequired":true,"uniqueKey":"active_trials.items.[INDEX].campaign_addr","typeLabel":"string"},"status":{"type":"string","description":"`Active` collapses on-chain Opening/Open/Closing; terminal states come from\nthe closed/reset events.","enum":["Active","Settled","SettledLiquidated"],"isRequired":true,"uniqueKey":"active_trials.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"trial_id":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"active_trials.items.[INDEX].trial_id","typeLabel":"integer\u003cint64>"},"user":{"type":"string","isRequired":true,"uniqueKey":"active_trials.items.[INDEX].user","typeLabel":"string"},"close_stalled":{"oneOf":[{"type":"boolean","description":"Active trial parked in `Closing` with a residual position after a\nsettle IOC couldn't fully close. `None` = not evaluated (history rows,\nWS path, old backend); `Some(true)` = stalled.","uniqueKey":"active_trials.items.[INDEX].close_stalled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Active trial parked in `Closing` with a residual position after a\nsettle IOC couldn't fully close. `None` = not evaluated (history rows,\nWS path, old backend); `Some(true)` = stalled.","uniqueKey":"active_trials.items.[INDEX].close_stalled.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].close_stalled","typeLabel":"boolean | null"},"closed_at_ms":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"active_trials.items.[INDEX].closed_at_ms.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","uniqueKey":"active_trials.items.[INDEX].closed_at_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].closed_at_ms","typeLabel":"integer\u003cint64> | null"},"closed_by":{"oneOf":[{"type":"string","uniqueKey":"active_trials.items.[INDEX].closed_by.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"active_trials.items.[INDEX].closed_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].closed_by","typeLabel":"string | null"},"expires_at_ms":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"active_trials.items.[INDEX].expires_at_ms.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","uniqueKey":"active_trials.items.[INDEX].expires_at_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].expires_at_ms","typeLabel":"integer\u003cint64> | null"},"leverage_at_open":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"active_trials.items.[INDEX].leverage_at_open.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"active_trials.items.[INDEX].leverage_at_open.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].leverage_at_open","typeLabel":"integer\u003cint64> | null"},"mark_at_close":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"active_trials.items.[INDEX].mark_at_close.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"active_trials.items.[INDEX].mark_at_close.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].mark_at_close","typeLabel":"integer\u003cint64> | null"},"mark_at_close_usd":{"oneOf":[{"type":"number","format":"double","uniqueKey":"active_trials.items.[INDEX].mark_at_close_usd.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"active_trials.items.[INDEX].mark_at_close_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].mark_at_close_usd","typeLabel":"number\u003cdouble> | null"},"mark_at_open":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"active_trials.items.[INDEX].mark_at_open.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"active_trials.items.[INDEX].mark_at_open.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].mark_at_open","typeLabel":"integer\u003cint64> | null"},"mark_at_open_usd":{"oneOf":[{"type":"number","format":"double","uniqueKey":"active_trials.items.[INDEX].mark_at_open_usd.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"active_trials.items.[INDEX].mark_at_open_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].mark_at_open_usd","typeLabel":"number\u003cdouble> | null"},"market":{"oneOf":[{"type":"string","uniqueKey":"active_trials.items.[INDEX].market.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"active_trials.items.[INDEX].market.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].market","typeLabel":"string | null"},"opened_at_ms":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"active_trials.items.[INDEX].opened_at_ms.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","uniqueKey":"active_trials.items.[INDEX].opened_at_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].opened_at_ms","typeLabel":"integer\u003cint64> | null"},"prior_status":{"oneOf":[{"type":"null","uniqueKey":"active_trials.items.[INDEX].prior_status.oneOf.0","typeLabel":"null"},{"type":"string","description":"Status a trial held before an admin reset. Resets are only allowed from\nOpening(0)/Open(1), both of which the wire collapses to `Active`.","enum":["Active"],"uniqueKey":"active_trials.items.[INDEX].prior_status.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"active_trials.items.[INDEX].prior_status","typeLabel":"null | enum\u003cstring>"},"protected_amount":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"active_trials.items.[INDEX].protected_amount.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"active_trials.items.[INDEX].protected_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].protected_amount","typeLabel":"integer\u003cint64> | null"},"protected_amount_usd":{"oneOf":[{"type":"number","format":"double","uniqueKey":"active_trials.items.[INDEX].protected_amount_usd.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"active_trials.items.[INDEX].protected_amount_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].protected_amount_usd","typeLabel":"number\u003cdouble> | null"},"settle_reason":{"oneOf":[{"type":"null","uniqueKey":"active_trials.items.[INDEX].settle_reason.oneOf.0","typeLabel":"null"},{"type":"string","description":"Why a trial closed. Chain values 0-5 mirror `protected_trial.move` settle-reason\nconstants; `AdminReset` is synthetic (reset rows only) and is never produced\nby [`SettleReason::parse_chain`]. `SweptAfterStall` (5) marks an organic\nstalled trial drained by the sweep tail with funds intact; `AdminForced`\nmarks admin-origin residual settles.","enum":["ExpiredClean","LiquidatedEmpty","PartialLoss","NeverFilled","AdminForced","SweptAfterStall","AdminReset"],"uniqueKey":"active_trials.items.[INDEX].settle_reason.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"active_trials.items.[INDEX].settle_reason","typeLabel":"null | enum\u003cstring>"},"side":{"oneOf":[{"type":"null","uniqueKey":"active_trials.items.[INDEX].side.oneOf.0","typeLabel":"null"},{"type":"string","description":"Trial direction. Maps from on-chain `side_is_buy: bool`.","enum":["Buy","Sell"],"uniqueKey":"active_trials.items.[INDEX].side.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"active_trials.items.[INDEX].side","typeLabel":"null | enum\u003cstring>"},"size":{"oneOf":[{"type":"number","format":"double","description":"Normalized size; null when the market is unknown. Always present (not skipped).","uniqueKey":"active_trials.items.[INDEX].size.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Normalized size; null when the market is unknown. Always present (not skipped).","uniqueKey":"active_trials.items.[INDEX].size.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].size","typeLabel":"number\u003cdouble> | null"},"trial_subaccount":{"oneOf":[{"type":"string","uniqueKey":"active_trials.items.[INDEX].trial_subaccount.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"active_trials.items.[INDEX].trial_subaccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].trial_subaccount","typeLabel":"string | null"},"user_payout":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"active_trials.items.[INDEX].user_payout.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"active_trials.items.[INDEX].user_payout.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].user_payout","typeLabel":"integer\u003cint64> | null"},"user_payout_usd":{"oneOf":[{"type":"number","format":"double","uniqueKey":"active_trials.items.[INDEX].user_payout_usd.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"active_trials.items.[INDEX].user_payout_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].user_payout_usd","typeLabel":"number\u003cdouble> | null"},"vault_returned":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"active_trials.items.[INDEX].vault_returned.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"active_trials.items.[INDEX].vault_returned.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].vault_returned","typeLabel":"integer\u003cint64> | null"},"vault_returned_usd":{"oneOf":[{"type":"number","format":"double","uniqueKey":"active_trials.items.[INDEX].vault_returned_usd.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"active_trials.items.[INDEX].vault_returned_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trials.items.[INDEX].vault_returned_usd","typeLabel":"number\u003cdouble> | null"}},"uniqueKey":"active_trials.items.[INDEX]","typeLabel":"object"},"description":"All active trials across campaigns.","isRequired":true,"uniqueKey":"active_trials","typeLabel":"object[]"},"history":{"type":"array","items":{"type":"object","description":"A protected trial. Presence rules: open-sourced fields are absent only on\ndegraded WS reset rows (enrichment miss); `size` is always emitted, null on\nunknown market; mark_at_close appears on organic closes only; the remaining\nterminal fields appear on closed/reset rows only.","required":["trial_id","user","campaign_addr","status"],"properties":{"campaign_addr":{"type":"string","isRequired":true,"uniqueKey":"history.items.[INDEX].campaign_addr","typeLabel":"string"},"status":{"type":"string","description":"`Active` collapses on-chain Opening/Open/Closing; terminal states come from\nthe closed/reset events.","enum":["Active","Settled","SettledLiquidated"],"isRequired":true,"uniqueKey":"history.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"trial_id":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"history.items.[INDEX].trial_id","typeLabel":"integer\u003cint64>"},"user":{"type":"string","isRequired":true,"uniqueKey":"history.items.[INDEX].user","typeLabel":"string"},"close_stalled":{"oneOf":[{"type":"boolean","description":"Active trial parked in `Closing` with a residual position after a\nsettle IOC couldn't fully close. `None` = not evaluated (history rows,\nWS path, old backend); `Some(true)` = stalled.","uniqueKey":"history.items.[INDEX].close_stalled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Active trial parked in `Closing` with a residual position after a\nsettle IOC couldn't fully close. `None` = not evaluated (history rows,\nWS path, old backend); `Some(true)` = stalled.","uniqueKey":"history.items.[INDEX].close_stalled.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].close_stalled","typeLabel":"boolean | null"},"closed_at_ms":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"history.items.[INDEX].closed_at_ms.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","uniqueKey":"history.items.[INDEX].closed_at_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].closed_at_ms","typeLabel":"integer\u003cint64> | null"},"closed_by":{"oneOf":[{"type":"string","uniqueKey":"history.items.[INDEX].closed_by.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"history.items.[INDEX].closed_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].closed_by","typeLabel":"string | null"},"expires_at_ms":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"history.items.[INDEX].expires_at_ms.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","uniqueKey":"history.items.[INDEX].expires_at_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].expires_at_ms","typeLabel":"integer\u003cint64> | null"},"leverage_at_open":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"history.items.[INDEX].leverage_at_open.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"history.items.[INDEX].leverage_at_open.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].leverage_at_open","typeLabel":"integer\u003cint64> | null"},"mark_at_close":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"history.items.[INDEX].mark_at_close.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"history.items.[INDEX].mark_at_close.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].mark_at_close","typeLabel":"integer\u003cint64> | null"},"mark_at_close_usd":{"oneOf":[{"type":"number","format":"double","uniqueKey":"history.items.[INDEX].mark_at_close_usd.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"history.items.[INDEX].mark_at_close_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].mark_at_close_usd","typeLabel":"number\u003cdouble> | null"},"mark_at_open":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"history.items.[INDEX].mark_at_open.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"history.items.[INDEX].mark_at_open.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].mark_at_open","typeLabel":"integer\u003cint64> | null"},"mark_at_open_usd":{"oneOf":[{"type":"number","format":"double","uniqueKey":"history.items.[INDEX].mark_at_open_usd.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"history.items.[INDEX].mark_at_open_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].mark_at_open_usd","typeLabel":"number\u003cdouble> | null"},"market":{"oneOf":[{"type":"string","uniqueKey":"history.items.[INDEX].market.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"history.items.[INDEX].market.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].market","typeLabel":"string | null"},"opened_at_ms":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"history.items.[INDEX].opened_at_ms.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","uniqueKey":"history.items.[INDEX].opened_at_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].opened_at_ms","typeLabel":"integer\u003cint64> | null"},"prior_status":{"oneOf":[{"type":"null","uniqueKey":"history.items.[INDEX].prior_status.oneOf.0","typeLabel":"null"},{"type":"string","description":"Status a trial held before an admin reset. Resets are only allowed from\nOpening(0)/Open(1), both of which the wire collapses to `Active`.","enum":["Active"],"uniqueKey":"history.items.[INDEX].prior_status.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"history.items.[INDEX].prior_status","typeLabel":"null | enum\u003cstring>"},"protected_amount":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"history.items.[INDEX].protected_amount.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"history.items.[INDEX].protected_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].protected_amount","typeLabel":"integer\u003cint64> | null"},"protected_amount_usd":{"oneOf":[{"type":"number","format":"double","uniqueKey":"history.items.[INDEX].protected_amount_usd.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"history.items.[INDEX].protected_amount_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].protected_amount_usd","typeLabel":"number\u003cdouble> | null"},"settle_reason":{"oneOf":[{"type":"null","uniqueKey":"history.items.[INDEX].settle_reason.oneOf.0","typeLabel":"null"},{"type":"string","description":"Why a trial closed. Chain values 0-5 mirror `protected_trial.move` settle-reason\nconstants; `AdminReset` is synthetic (reset rows only) and is never produced\nby [`SettleReason::parse_chain`]. `SweptAfterStall` (5) marks an organic\nstalled trial drained by the sweep tail with funds intact; `AdminForced`\nmarks admin-origin residual settles.","enum":["ExpiredClean","LiquidatedEmpty","PartialLoss","NeverFilled","AdminForced","SweptAfterStall","AdminReset"],"uniqueKey":"history.items.[INDEX].settle_reason.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"history.items.[INDEX].settle_reason","typeLabel":"null | enum\u003cstring>"},"side":{"oneOf":[{"type":"null","uniqueKey":"history.items.[INDEX].side.oneOf.0","typeLabel":"null"},{"type":"string","description":"Trial direction. Maps from on-chain `side_is_buy: bool`.","enum":["Buy","Sell"],"uniqueKey":"history.items.[INDEX].side.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"history.items.[INDEX].side","typeLabel":"null | enum\u003cstring>"},"size":{"oneOf":[{"type":"number","format":"double","description":"Normalized size; null when the market is unknown. Always present (not skipped).","uniqueKey":"history.items.[INDEX].size.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Normalized size; null when the market is unknown. Always present (not skipped).","uniqueKey":"history.items.[INDEX].size.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].size","typeLabel":"number\u003cdouble> | null"},"trial_subaccount":{"oneOf":[{"type":"string","uniqueKey":"history.items.[INDEX].trial_subaccount.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"history.items.[INDEX].trial_subaccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].trial_subaccount","typeLabel":"string | null"},"user_payout":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"history.items.[INDEX].user_payout.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"history.items.[INDEX].user_payout.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].user_payout","typeLabel":"integer\u003cint64> | null"},"user_payout_usd":{"oneOf":[{"type":"number","format":"double","uniqueKey":"history.items.[INDEX].user_payout_usd.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"history.items.[INDEX].user_payout_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].user_payout_usd","typeLabel":"number\u003cdouble> | null"},"vault_returned":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"history.items.[INDEX].vault_returned.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"history.items.[INDEX].vault_returned.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].vault_returned","typeLabel":"integer\u003cint64> | null"},"vault_returned_usd":{"oneOf":[{"type":"number","format":"double","uniqueKey":"history.items.[INDEX].vault_returned_usd.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"history.items.[INDEX].vault_returned_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"history.items.[INDEX].vault_returned_usd","typeLabel":"number\u003cdouble> | null"}},"uniqueKey":"history.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"history","typeLabel":"object[]"},"history_total_count":{"type":"integer","format":"int32","description":"Total terminal history rows matching the filters across all pages;\nunknown-settle_reason rows are excluded from both the page and this count.","minimum":0,"isRequired":true,"uniqueKey":"history_total_count","typeLabel":"integer\u003cint32>"},"active_trial":{"oneOf":[{"type":"null","uniqueKey":"active_trial.oneOf.0","typeLabel":"null"},{"type":"object","description":"Compat slot: the active trial in the requested campaign, or the most\nrecent across campaigns.","required":["trial_id","user","campaign_addr","status"],"properties":{"campaign_addr":{"type":"string","isRequired":true,"uniqueKey":"active_trial.oneOf.1.campaign_addr","typeLabel":"string"},"status":{"type":"string","description":"`Active` collapses on-chain Opening/Open/Closing; terminal states come from\nthe closed/reset events.","enum":["Active","Settled","SettledLiquidated"],"isRequired":true,"uniqueKey":"active_trial.oneOf.1.status","typeLabel":"enum\u003cstring>"},"trial_id":{"type":"integer","format":"int64","minimum":0,"isRequired":true,"uniqueKey":"active_trial.oneOf.1.trial_id","typeLabel":"integer\u003cint64>"},"user":{"type":"string","isRequired":true,"uniqueKey":"active_trial.oneOf.1.user","typeLabel":"string"},"close_stalled":{"oneOf":[{"type":"boolean","description":"Active trial parked in `Closing` with a residual position after a\nsettle IOC couldn't fully close. `None` = not evaluated (history rows,\nWS path, old backend); `Some(true)` = stalled.","uniqueKey":"active_trial.oneOf.1.close_stalled.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Active trial parked in `Closing` with a residual position after a\nsettle IOC couldn't fully close. `None` = not evaluated (history rows,\nWS path, old backend); `Some(true)` = stalled.","uniqueKey":"active_trial.oneOf.1.close_stalled.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.close_stalled","typeLabel":"boolean | null"},"closed_at_ms":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"active_trial.oneOf.1.closed_at_ms.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","uniqueKey":"active_trial.oneOf.1.closed_at_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.closed_at_ms","typeLabel":"integer\u003cint64> | null"},"closed_by":{"oneOf":[{"type":"string","uniqueKey":"active_trial.oneOf.1.closed_by.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"active_trial.oneOf.1.closed_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.closed_by","typeLabel":"string | null"},"expires_at_ms":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"active_trial.oneOf.1.expires_at_ms.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","uniqueKey":"active_trial.oneOf.1.expires_at_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.expires_at_ms","typeLabel":"integer\u003cint64> | null"},"leverage_at_open":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"active_trial.oneOf.1.leverage_at_open.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"active_trial.oneOf.1.leverage_at_open.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.leverage_at_open","typeLabel":"integer\u003cint64> | null"},"mark_at_close":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"active_trial.oneOf.1.mark_at_close.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"active_trial.oneOf.1.mark_at_close.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.mark_at_close","typeLabel":"integer\u003cint64> | null"},"mark_at_close_usd":{"oneOf":[{"type":"number","format":"double","uniqueKey":"active_trial.oneOf.1.mark_at_close_usd.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"active_trial.oneOf.1.mark_at_close_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.mark_at_close_usd","typeLabel":"number\u003cdouble> | null"},"mark_at_open":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"active_trial.oneOf.1.mark_at_open.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"active_trial.oneOf.1.mark_at_open.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.mark_at_open","typeLabel":"integer\u003cint64> | null"},"mark_at_open_usd":{"oneOf":[{"type":"number","format":"double","uniqueKey":"active_trial.oneOf.1.mark_at_open_usd.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"active_trial.oneOf.1.mark_at_open_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.mark_at_open_usd","typeLabel":"number\u003cdouble> | null"},"market":{"oneOf":[{"type":"string","uniqueKey":"active_trial.oneOf.1.market.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"active_trial.oneOf.1.market.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.market","typeLabel":"string | null"},"opened_at_ms":{"oneOf":[{"type":"integer","format":"int64","uniqueKey":"active_trial.oneOf.1.opened_at_ms.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","uniqueKey":"active_trial.oneOf.1.opened_at_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.opened_at_ms","typeLabel":"integer\u003cint64> | null"},"prior_status":{"oneOf":[{"type":"null","uniqueKey":"active_trial.oneOf.1.prior_status.oneOf.0","typeLabel":"null"},{"type":"string","description":"Status a trial held before an admin reset. Resets are only allowed from\nOpening(0)/Open(1), both of which the wire collapses to `Active`.","enum":["Active"],"uniqueKey":"active_trial.oneOf.1.prior_status.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"active_trial.oneOf.1.prior_status","typeLabel":"null | enum\u003cstring>"},"protected_amount":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"active_trial.oneOf.1.protected_amount.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"active_trial.oneOf.1.protected_amount.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.protected_amount","typeLabel":"integer\u003cint64> | null"},"protected_amount_usd":{"oneOf":[{"type":"number","format":"double","uniqueKey":"active_trial.oneOf.1.protected_amount_usd.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"active_trial.oneOf.1.protected_amount_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.protected_amount_usd","typeLabel":"number\u003cdouble> | null"},"settle_reason":{"oneOf":[{"type":"null","uniqueKey":"active_trial.oneOf.1.settle_reason.oneOf.0","typeLabel":"null"},{"type":"string","description":"Why a trial closed. Chain values 0-5 mirror `protected_trial.move` settle-reason\nconstants; `AdminReset` is synthetic (reset rows only) and is never produced\nby [`SettleReason::parse_chain`]. `SweptAfterStall` (5) marks an organic\nstalled trial drained by the sweep tail with funds intact; `AdminForced`\nmarks admin-origin residual settles.","enum":["ExpiredClean","LiquidatedEmpty","PartialLoss","NeverFilled","AdminForced","SweptAfterStall","AdminReset"],"uniqueKey":"active_trial.oneOf.1.settle_reason.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"active_trial.oneOf.1.settle_reason","typeLabel":"null | enum\u003cstring>"},"side":{"oneOf":[{"type":"null","uniqueKey":"active_trial.oneOf.1.side.oneOf.0","typeLabel":"null"},{"type":"string","description":"Trial direction. Maps from on-chain `side_is_buy: bool`.","enum":["Buy","Sell"],"uniqueKey":"active_trial.oneOf.1.side.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"active_trial.oneOf.1.side","typeLabel":"null | enum\u003cstring>"},"size":{"oneOf":[{"type":"number","format":"double","description":"Normalized size; null when the market is unknown. Always present (not skipped).","uniqueKey":"active_trial.oneOf.1.size.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","description":"Normalized size; null when the market is unknown. Always present (not skipped).","uniqueKey":"active_trial.oneOf.1.size.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.size","typeLabel":"number\u003cdouble> | null"},"trial_subaccount":{"oneOf":[{"type":"string","uniqueKey":"active_trial.oneOf.1.trial_subaccount.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"active_trial.oneOf.1.trial_subaccount.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.trial_subaccount","typeLabel":"string | null"},"user_payout":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"active_trial.oneOf.1.user_payout.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"active_trial.oneOf.1.user_payout.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.user_payout","typeLabel":"integer\u003cint64> | null"},"user_payout_usd":{"oneOf":[{"type":"number","format":"double","uniqueKey":"active_trial.oneOf.1.user_payout_usd.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"active_trial.oneOf.1.user_payout_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.user_payout_usd","typeLabel":"number\u003cdouble> | null"},"vault_returned":{"oneOf":[{"type":"integer","format":"int64","minimum":0,"uniqueKey":"active_trial.oneOf.1.vault_returned.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","minimum":0,"uniqueKey":"active_trial.oneOf.1.vault_returned.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.vault_returned","typeLabel":"integer\u003cint64> | null"},"vault_returned_usd":{"oneOf":[{"type":"number","format":"double","uniqueKey":"active_trial.oneOf.1.vault_returned_usd.oneOf.0","typeLabel":"number\u003cdouble>"},{"type":"null","format":"double","uniqueKey":"active_trial.oneOf.1.vault_returned_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"active_trial.oneOf.1.vault_returned_usd","typeLabel":"number\u003cdouble> | null"}},"uniqueKey":"active_trial.oneOf.1","typeLabel":"object"}],"uniqueKey":"active_trial","typeLabel":"null | object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"account":"\u003cstring>","active_trials":[{"campaign_addr":"\u003cstring>","status":"Active","trial_id":1,"user":"\u003cstring>","close_stalled":true,"closed_at_ms":123,"closed_by":"\u003cstring>","expires_at_ms":123,"leverage_at_open":1,"mark_at_close":1,"mark_at_close_usd":123,"mark_at_open":1,"mark_at_open_usd":123,"market":"\u003cstring>","opened_at_ms":123,"prior_status":"Active","protected_amount":1,"protected_amount_usd":123,"settle_reason":"ExpiredClean","side":"Buy","size":123,"trial_subaccount":"\u003cstring>","user_payout":1,"user_payout_usd":123,"vault_returned":1,"vault_returned_usd":123}],"history":[{"campaign_addr":"\u003cstring>","status":"Active","trial_id":1,"user":"\u003cstring>","close_stalled":true,"closed_at_ms":123,"closed_by":"\u003cstring>","expires_at_ms":123,"leverage_at_open":1,"mark_at_close":1,"mark_at_close_usd":123,"mark_at_open":1,"mark_at_open_usd":123,"market":"\u003cstring>","opened_at_ms":123,"prior_status":"Active","protected_amount":1,"protected_amount_usd":123,"settle_reason":"ExpiredClean","side":"Buy","size":123,"trial_subaccount":"\u003cstring>","user_payout":1,"user_payout_usd":123,"vault_returned":1,"vault_returned_usd":123}],"history_total_count":1,"active_trial":{"campaign_addr":"\u003cstring>","status":"Active","trial_id":1,"user":"\u003cstring>","close_stalled":true,"closed_at_ms":123,"closed_by":"\u003cstring>","expires_at_ms":123,"leverage_at_open":1,"mark_at_close":1,"mark_at_close_usd":123,"mark_at_open":1,"mark_at_open_usd":123,"market":"\u003cstring>","opened_at_ms":123,"prior_status":"Active","protected_amount":1,"protected_amount_usd":123,"settle_reason":"ExpiredClean","side":"Buy","size":123,"trial_subaccount":"\u003cstring>","user_payout":1,"user_payout_usd":123,"vault_returned":1,"vault_returned_usd":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"9fa251a7-8cd9-4c56-a0fa-d17689189372":{"description":"Invalid address","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"15fc7923-4b67-4b53-8ed8-8b17093e568d":{"description":"Database error","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"358308dd-965e-42e6-b033-30b919be0b62":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Bearer token from Geomi. See [Authentication](/api-reference/rest/authentication) for setup instructions.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"c8273ef7-994d-4342-9047-9767e0deeea2":{"url":"https://api.mainnet.aptoslabs.com/decibel","description":"Mainnet"},"da7ecace-9492-4874-924e-a7578376481a":{"url":"https://api.testnet.aptoslabs.com/decibel","description":"Testnet"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Bearer token from Geomi. See [Authentication](/api-reference/rest/authentication) for setup instructions.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer token from Geomi. See [Authentication](/api-reference/rest/authentication) for setup instructions.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"aptoslabs","siteName":"Decibel","title":"Get account's protected (FFT) trials - Decibel","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T19:36:39.660Z","originalFileLocation":"api-reference/campaigns/get-accounts-protected-fft-trials.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=\"system\"}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=\"description\" content=\"Returns the account\u0026#x27;s active protected trials plus a paginated terminal history (organic closes and admin resets). limit/offset apply to history only. An optional campaign_addr scopes the whole response.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Decibel\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aptoslabs/1QPxIzCJI3K0dNyA/_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/aptoslabs/1QPxIzCJI3K0dNyA/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aptoslabs/1QPxIzCJI3K0dNyA/_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/aptoslabs/1QPxIzCJI3K0dNyA/_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/aptoslabs/1QPxIzCJI3K0dNyA/_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/aptoslabs/1QPxIzCJI3K0dNyA/_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/aptoslabs/1QPxIzCJI3K0dNyA/_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/aptoslabs/1QPxIzCJI3K0dNyA/_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/aptoslabs/1QPxIzCJI3K0dNyA/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get account\u0026#x27;s protected (FFT) trials - Decibel\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the account\u0026#x27;s active protected trials plus a paginated terminal history (organic closes and admin resets). limit/offset apply to history only. An optional campaign_addr scopes the whole response.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Decibel\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.decibel.trade/api-reference/campaigns/get-accounts-protected-fft-trials\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aptoslabs.mintlify.app/_mintlify/api/og/v2?division=Campaigns\u0026amp;title=Get+account%27s+protected+%28FFT%29+trials\u0026amp;description=Returns+the+account%27s+active+protected+trials+plus+a+paginated+terminal%0Ahistory+%28organic+closes+and+admin+resets%29.+%60limit%60%2F%60offset%60+apply+to%0A%60history%60+only.+An+\u0026amp;theme=2487a7442155a5ba82df3db5\u0026amp;signature=f09ac2dec6ae0fe41e148167b3937078f22681ea71fd632dec860713f0e5b61e\">\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=\"Get account\u0026#x27;s protected (FFT) trials - Decibel\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the account\u0026#x27;s active protected trials plus a paginated terminal history (organic closes and admin resets). limit/offset apply to history only. An optional campaign_addr scopes the whole response.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aptoslabs.mintlify.app/_mintlify/api/og/v2?division=Campaigns\u0026amp;title=Get+account%27s+protected+%28FFT%29+trials\u0026amp;description=Returns+the+account%27s+active+protected+trials+plus+a+paginated+terminal%0Ahistory+%28organic+closes+and+admin+resets%29.+%60limit%60%2F%60offset%60+apply+to%0A%60history%60+only.+An+\u0026amp;theme=2487a7442155a5ba82df3db5\u0026amp;signature=f09ac2dec6ae0fe41e148167b3937078f22681ea71fd632dec860713f0e5b61e\">\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/aptoslabs/1QPxIzCJI3K0dNyA/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Decibel\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FFBE0B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.decibel.trade/api-reference/campaigns/get-accounts-protected-fft-trials\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/campaigns/get-accounts-protected-fft-trials.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.decibel.trade/#organization\",\"name\":\"Decibel\",\"url\":\"https://docs.decibel.trade\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aptoslabs/v1mrvWAEF-j2Vo20/logo/fullmark_black.png?fit=max\u0026auto=format\u0026n=v1mrvWAEF-j2Vo20\u0026q=85\u0026s=8606664ecd7f84268c69aaeee50e6b4d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.decibel.trade#website\",\"name\":\"Decibel\",\"url\":\"https://docs.decibel.trade\",\"publisher\":{\"@id\":\"https://docs.decibel.trade/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.decibel.trade/api-reference/campaigns/get-accounts-protected-fft-trials#webpage\",\"url\":\"https://docs.decibel.trade/api-reference/campaigns/get-accounts-protected-fft-trials\",\"name\":\"Get account's protected (FFT) trials\",\"description\":\"Returns the account's active protected trials plus a paginated terminal history (organic closes and admin resets). limit/offset apply to history only. An optional campaign_addr scopes the whole response.\",\"dateModified\":\"2026-11-04T19:36:39.660Z\",\"isPartOf\":{\"@id\":\"https://docs.decibel.trade#website\"},\"breadcrumb\":{\"@id\":\"https://docs.decibel.trade/api-reference/campaigns/get-accounts-protected-fft-trials#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.decibel.trade/api-reference/campaigns/get-accounts-protected-fft-trials#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Campaigns\",\"item\":\"https://docs.decibel.trade/api-reference/campaigns/get-accounts-campaign-locks\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get account's protected (FFT) trials\",\"item\":\"https://docs.decibel.trade/api-reference/campaigns/get-accounts-protected-fft-trials\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.decibel.trade/api-reference/campaigns/get-accounts-protected-fft-trials#apireference\",\"headline\":\"Get account's protected (FFT) trials\",\"name\":\"Get account's protected (FFT) trials\",\"description\":\"Returns the account's active protected trials plus a paginated terminal history (organic closes and admin resets). limit/offset apply to history only. An optional campaign_addr scopes the whole response.\",\"url\":\"https://docs.decibel.trade/api-reference/campaigns/get-accounts-protected-fft-trials\",\"mainEntityOfPage\":{\"@id\":\"https://docs.decibel.trade/api-reference/campaigns/get-accounts-protected-fft-trials#webpage\"},\"dateModified\":\"2026-11-04T19:36:39.660Z\",\"publisher\":{\"@id\":\"https://docs.decibel.trade/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.decibel.trade#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Decibel\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Decibel","nav":{"global":null,"tabs":[{"tab":"Home","pages":[{"title":"Home","href":""}]},{"tab":"For Traders","pages":[{"title":"For Traders","href":"/for-traders/overview"}]},{"tab":"Developer Hub","pages":[{"title":"Developer Hub","href":"/developer-hub/overview"}]},{"tab":"API: REST","groups":[{"group":"Overview","pages":[{"title":"REST API Overview","href":"/api-reference/rest/overview"},{"title":"Authentication","href":"/api-reference/rest/authentication"},{"title":"Error Handling","href":"/api-reference/rest/errors"}]},{"group":"User","pages":[{"title":"Get user fund history (deposits, withdrawals and borrow-lend transfers)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/account_fund_history","href":"/api-reference/user/get-user-fund-history-deposits-withdrawals-and-borrow-lend-transfers"},{"title":"Get delegations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/delegations","href":"/api-reference/user/get-delegations"},{"title":"Get apiv1orders","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/orders","href":"/api-reference/user/get-apiv1orders"},{"title":"Get user fund history (deprecated)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user_fund_history","href":"/api-reference/user/get-user-fund-history-deprecated"},{"title":"Get user positions (deprecated)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user_positions","href":"/api-reference/user/get-user-positions-deprecated"},{"title":"Get withdrawal queue entries for an account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/withdraw_queue","href":"/api-reference/user/get-withdrawal-queue-entries-for-an-account"}]},{"group":"Account","pages":[{"title":"Get account overview","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/account_overviews","href":"/api-reference/account/get-account-overview"},{"title":"Get account positions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/account_positions","href":"/api-reference/account/get-account-positions"},{"title":"Get aggregate account volume over a date range","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/account_volume","href":"/api-reference/account/get-aggregate-account-volume-over-a-date-range"},{"title":"Get user funding rate history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/funding_rate_history","href":"/api-reference/account/get-user-funding-rate-history"},{"title":"Get account's open orders","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/open_orders","href":"/api-reference/account/get-accounts-open-orders"},{"title":"Get user order history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/order_history","href":"/api-reference/account/get-user-order-history"},{"title":"Get subaccounts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/subaccounts","href":"/api-reference/account/get-subaccounts"},{"title":"Get user trade history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trade_history","href":"/api-reference/account/get-user-trade-history"},{"title":"Get user fees and fee schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user_fee_rates","href":"/api-reference/account/get-user-fees-and-fee-schedule"}]},{"group":"Vaults","pages":[{"title":"Get account-owned vaults","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/account_owned_vaults","href":"/api-reference/vaults/get-account-owned-vaults"},{"title":"Get account vault performance for all vaults where account has deposits","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/account_vault_performance","href":"/api-reference/vaults/get-account-vault-performance-for-all-vaults-where-account-has-deposits"},{"title":"Get user-owned vaults (deprecated)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user_owned_vaults","href":"/api-reference/vaults/get-user-owned-vaults-deprecated"},{"title":"Get user vault performance (deprecated)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/user_vault_performance","href":"/api-reference/vaults/get-user-vault-performance-deprecated"},{"title":"Get public vaults","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/vaults","href":"/api-reference/vaults/get-public-vaults"}]},{"group":"TWAP","pages":[{"title":"Get active TWAP orders","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/active_twaps","href":"/api-reference/twap/get-active-twap-orders"},{"title":"Get TWAP order history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/twap_history","href":"/api-reference/twap/get-twap-order-history"}]},{"group":"Affiliates","pages":[{"title":"GET /api/v1/affiliates/codes/{account}","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/affiliates/codes/{account}","href":"/api-reference/affiliates/get-apiv1affiliatescodes"},{"title":"GET /api/v1/affiliates/codes/{account}/analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/affiliates/codes/{account}/analytics","href":"/api-reference/affiliates/get-apiv1affiliatescodes-analytics"},{"title":"GET /api/v1/affiliates/earnings/{account}","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/affiliates/earnings/{account}","href":"/api-reference/affiliates/get-apiv1affiliatesearnings"}]},{"group":"Market Data","pages":[{"title":"Get asset contexts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/asset_contexts","href":"/api-reference/market-data/get-asset-contexts"},{"title":"Get candlestick (OHLC) data","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/candlesticks","href":"/api-reference/market-data/get-candlestick-ohlc-data"},{"title":"Get contract specifications","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/contract_specs","href":"/api-reference/market-data/get-contract-specifications"},{"title":"Get contracts summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/contracts","href":"/api-reference/market-data/get-contracts-summary"},{"title":"Get DEX registration","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/dex","href":"/api-reference/market-data/get-dex-registration"},{"title":"Get market activity","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/market_activity","href":"/api-reference/market-data/get-market-activity"},{"title":"Get all available markets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/markets","href":"/api-reference/market-data/get-all-available-markets"},{"title":"Get orderbook depth","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/orderbook","href":"/api-reference/market-data/get-orderbook-depth"},{"title":"Get market prices","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/prices","href":"/api-reference/market-data/get-market-prices"},{"title":"Get spot asset contexts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/spot/asset_contexts","href":"/api-reference/market-data/get-spot-asset-contexts"},{"title":"Get trades","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trades","href":"/api-reference/market-data/get-trades"},{"title":"Get trades in a time window","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trades/window","href":"/api-reference/market-data/get-trades-in-a-time-window"},{"title":"Get trending markets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/trending_markets","href":"/api-reference/market-data/get-trending-markets"}]},{"group":"Borrow/Lend","pages":[{"title":"Get apiv1borrow lendaccount","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/borrow_lend/account","href":"/api-reference/borrowlend/get-apiv1borrow_lendaccount"},{"title":"Get apiv1borrow lendactivity","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/borrow_lend/activity","href":"/api-reference/borrowlend/get-apiv1borrow_lendactivity"},{"title":"Get apiv1borrow lendcollateral","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/borrow_lend/collateral","href":"/api-reference/borrowlend/get-apiv1borrow_lendcollateral"},{"title":"Get apiv1borrow lendlending history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/borrow_lend/lending_history","href":"/api-reference/borrowlend/get-apiv1borrow_lendlending_history"},{"title":"Get apiv1borrow lendpool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/borrow_lend/pool","href":"/api-reference/borrowlend/get-apiv1borrow_lendpool"},{"title":"Get apiv1borrow lendpool history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/borrow_lend/pool_history","href":"/api-reference/borrowlend/get-apiv1borrow_lendpool_history"},{"title":"Get apiv1borrow lendvault lending","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/borrow_lend/vault_lending","href":"/api-reference/borrowlend/get-apiv1borrow_lendvault_lending"}]},{"group":"Bulk Orders","pages":[{"title":"Get bulk order fills","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/bulk_order_fills","href":"/api-reference/bulk-orders/get-bulk-order-fills"},{"title":"Get bulk order status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/bulk_order_status","href":"/api-reference/bulk-orders/get-bulk-order-status"},{"title":"Get bulk orders","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/bulk_orders","href":"/api-reference/bulk-orders/get-bulk-orders"}]},{"group":"Campaigns","pages":[{"title":"Get account's campaign locks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/campaign_locks","href":"/api-reference/campaigns/get-accounts-campaign-locks"},{"title":"Aggregates sum over all campaigns; `claims` is paged by `limit` / `offset`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/campaigns/account","href":"/api-reference/campaigns/aggregates-sum-over-all-campaigns;-`claims`-is-paged-by-`limit`-`offset`"},{"title":"Get apiv1campaignsactive","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/campaigns/active","href":"/api-reference/campaigns/get-apiv1campaignsactive"},{"title":"Get account's protected (FFT) trials","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/protected_trials","href":"/api-reference/campaigns/get-accounts-protected-fft-trials"}]},{"group":"Analytics","pages":[{"title":"Get daily stats","description":"Returns perp daily volume, fees, revenue, and open interest for a given time range.\nDesigned for DefiLlama integration.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/daily_stats","href":"/api-reference/analytics/get-daily-stats"},{"title":"Get leaderboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/leaderboard","href":"/api-reference/analytics/get-leaderboard"},{"title":"Returns the total number of users with points and total amps distributed.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/points/global","href":"/api-reference/analytics/returns-the-total-number-of-users-with-points-and-total-amps-distributed"},{"title":"Returns active and upcoming Amps boosts (multiplier > 1) for the current season.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/points/market_boosts","href":"/api-reference/analytics/returns-active-and-upcoming-amps-boosts-multiplier->-1-for-the-current-season"},{"title":"Get points leaderboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/points_leaderboard","href":"/api-reference/analytics/get-points-leaderboard"},{"title":"Get portfolio chart data","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/portfolio_chart","href":"/api-reference/analytics/get-portfolio-chart-data"}]},{"group":"Points","pages":[{"title":"Get amps breakdown for an owner","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/points/amps","href":"/api-reference/points/get-amps-breakdown-for-an-owner"},{"title":"Get per-day Amps for an owner","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/points/amps/daily","href":"/api-reference/points/get-per-day-amps-for-an-owner"}]},{"group":"Tier","pages":[{"title":"Get tier info for a user based on percentile-based thresholds","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/points/tier","href":"/api-reference/tier/get-tier-info-for-a-user-based-on-percentile-based-thresholds"}]},{"group":"Trading Points","pages":[{"title":"Get aggregated trading points for an owner across all their active subaccounts\nReturns total points and per-subaccount breakdown","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/points/trading/account","href":"/api-reference/trading-points/get-aggregated-trading-points-for-an-owner-across-all-their-active-subaccountsreturns-total-points-and-per-subaccount-breakdown"}]},{"group":"Trading Hz","pages":[{"title":"Get aggregated trading Hz for an owner across all their subaccounts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/points/trading/amps","href":"/api-reference/trading-hz/get-aggregated-trading-hz-for-an-owner-across-all-their-subaccounts"}]},{"group":"Predeposit Rewards","pages":[{"title":"Get S0 predeposit USDC reward for a user","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/predeposits/rewards","href":"/api-reference/predeposit-rewards/get-s0-predeposit-usdc-reward-for-a-user"}]},{"group":"Referrals","pages":[{"title":"Handler to get referral info for an account (who referred them)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/account/{account}","href":"/api-reference/referrals/handler-to-get-referral-info-for-an-account-who-referred-them"},{"title":"Get trading activity of a referrer's referred clients","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/activity","href":"/api-reference/referrals/get-trading-activity-of-a-referrers-referred-clients"},{"title":"Get the transactions that paid an owner builder fees","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/builder-fee-history","href":"/api-reference/referrals/get-the-transactions-that-paid-an-owner-builder-fees"},{"title":"Get the builder fees an owner collected","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/builder-fees","href":"/api-reference/referrals/get-the-builder-fees-an-owner-collected"},{"title":"Get a referrer's referred clients with lifecycle segments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/clients","href":"/api-reference/referrals/get-a-referrers-referred-clients-with-lifecycle-segments"},{"title":"Get per-code performance for a referrer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/code-performance","href":"/api-reference/referrals/get-per-code-performance-for-a-referrer"},{"title":"GET /api/v1/referrals/code/{code}","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/code/{code}","href":"/api-reference/referrals/get-apiv1referralscode"},{"title":"Get an affiliate's accrued commission","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/commissions","href":"/api-reference/referrals/get-an-affiliates-accrued-commission"},{"title":"Get fee revenue generated by a referrer's network","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/fees","href":"/api-reference/referrals/get-fee-revenue-generated-by-a-referrers-network"},{"title":"Get the referral funnel for a referrer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/funnel","href":"/api-reference/referrals/get-the-referral-funnel-for-a-referrer"},{"title":"POST /api/v1/referrals/redeem","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/referrals/redeem","href":"/api-reference/referrals/post-apiv1referralsredeem"},{"title":"Handler to get referrer statistics.\nNon-affiliate referrers must meet the minimum trade volume threshold\nto see their referral codes. Affiliate referrers always see all codes.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/stats/{account}","href":"/api-reference/referrals/handler-to-get-referrer-statisticsnon-affiliate-referrers-must-meet-the-minimum-trade-volume-thresholdto-see-their-referral-codes-affiliate-referrers-always-see-all-codes"},{"title":"Get a referrer's sub-affiliates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/sub-affiliates","href":"/api-reference/referrals/get-a-referrers-sub-affiliates"},{"title":"Handler to get users referred by a referrer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/users","href":"/api-reference/referrals/handler-to-get-users-referred-by-a-referrer"},{"title":"Get referred volume per day for a referrer","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/referrals/volume/daily","href":"/api-reference/referrals/get-referred-volume-per-day-for-a-referrer"}]},{"group":"Streaks","pages":[{"title":"Get account streak data including qualifying dates and grace days","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/streaks/account","href":"/api-reference/streaks/get-account-streak-data-including-qualifying-dates-and-grace-days"}]},{"group":"Transfers","pages":[{"title":"POST /api/v1/transfers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /api/v1/transfers","href":"/api-reference/transfers/post-apiv1transfers"}]}]},{"tab":"API: WebSocket","pages":[{"title":"API: WebSocket","href":"/api-reference/websocket/overview"}]},{"tab":"Agents","pages":[{"title":"Agents","href":"/agents/llms-txt"}]},{"tab":"Security","pages":[{"title":"Security","href":"/security/audits"}]}]},"basePath":"","title":"Get account's protected (FFT) trials - Decibel","buildId":"dpl_2gSLkbMoF5kkLsBqYzq9KWtDyJRo","deploymentId":"dpl_2gSLkbMoF5kkLsBqYzq9KWtDyJRo","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-hfTk6MZX.js","utils-Bfp7HcY4.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D8dSW7yV.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CFgQXcZO.js","snippetPresets-dMW1-pV3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-DyrCOido.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Bwwdcyh3.js","shallow-drVXTg79.js","getApiPlaygroundDisplay-GMPxUzWV.js","CodeSnippet-wTmV0wP6.js","CodeSnippets-D_QxCJEq.js","Page-BsZAA8xk.js","getPastedJson-Dev-X0Xy.js","icon-7L2WL0jD.js","MethodPill-Ble59Dl_.js","DuplicateIcon-r-98uLGh.js","createIcon-DaFzipjW.js","DynamicMarkdown-Jk8YAWGN.js","SectionHeading-nLgrCDOg.js","axios-vUo_bRtp.js","Markdown-_QGow1Wo.js","clsx-v8ssfMzu.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CjboTi0T.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DkAyo-p5.js"]}