Scoped API keys: how to get one, how to send it, the scope catalog, and how to manage and revoke keys.
Every authenticated request carries your API key. On REST and the quote streams, send it in the
X-API-Key header. On the WebSocket, send it in the first message. Keys are scoped, so a key can
read without being able to trade, and trade without being able to withdraw.
Name it and choose its scopes. Grant only what this integration needs. The presets map to the
scopes below: Read-only is the four read scopes, Trading adds trading:write
and funds:deposit, and Custom lets you tick scopes one by one. The API also accepts a
full preset. See Create API key.
Creating a key with the Trading preset. Each checkbox is one scope from the catalog below.
3
Copy it immediately
The full key is returned exactly once, in data.key.
The only time the full key is visible
Store the key in a secret manager before you close the dialog. It cannot be retrieved later, only
revoked and replaced.
Keys match api_(live|test)_[A-Za-z0-9_-]{28,36}. Every key you create is a live key and starts
api_live_. There is no public test environment. Start with small real bets, or email
founders@totalis.trade if you need a staging setup.
The web app authenticates with a Privy JWT (Authorization: Bearer <jwt>) instead of a key. Every
endpoint accepts either. Creating, listing and revoking keys needs keys:manage. A Privy session
always holds it. A key holds it only if you granted it.
A credential that does not start with api_ gets 403 with reason wrong_api_key_type. A
well-formed but invalid or revoked key gets 401. See Errors.
Scopes
A key holds the scopes you chose at creation. A request that needs a scope the key lacks gets 403
with reason insufficient_scope.
Scope
Grants
Risk
account:read
View account profile and username.
low
markets:read
Browse markets and exclusion groups. Market reads are public today, so no public endpoint checks it.
low
positions:read
View quote requests, parlays, stats, and P&L. Portfolio also needs balances:read.
low
balances:read
View wallet and vault balances and delegation status.
low
funds:deposit
Move USDC into the vault.
low
trading:write
Create, modify, commit, and cancel quote requests. Places parlays.
medium
account:write
Change username and profile settings.
medium
mm:quote
Read quote requests and submit or confirm quotes as a market maker.
medium
funds:withdraw
Move USDC out of the vault or wallet to any address.
high
tx:sign
Submit arbitrary signed Solana transactions.
high
keys:manage
Create, list, and revoke API keys.
high
Each high-risk scope lets a leaked key take everything. funds:withdraw sends USDC to any address.
tx:sign submits arbitrary transactions. keys:manage mints more keys, including ones that outlive
your revocation of the original. Grant them only to keys that need them, and never to a key that
lives in a browser or a CI log.
Scopes by integration:
Integration
Scopes
Dashboard or reconciliation, read only
account:read, positions:read, balances:read
Trading bot
the four read scopes, plus trading:write, plus funds:deposit if it tops up the vault
Market maker
the four read scopes, plus mm:quote, plus funds:deposit if you park collateral in the vault
{prefix} is the key_prefix value returned by both list and create: the short leading fragment
that listings show in place of the full secret. The app shows each key’s prefix, scopes, request
count and state, with a Revoke control on active keys.
The key list in the app. Only the prefix of each key is ever shown again.
A new key can never grant a scope the creating credential does not already hold. A key with
positions:read cannot mint a key with funds:withdraw.
Key states
State
Behavior
Active
Valid and accepted.
Revoked
Manually revoked. Rejected with 401.
Expired
Past its expiration date. Rejected with 401.
Keys you create yourself never expire, so they reach the Expired state only if they were minted with
an expiry.Revocation takes effect immediately. Revoking one key among several does not stop webhook delivery,
because webhook endpoints belong to your account, not to the key that created them. See
Webhooks.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Totalis","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/ucalledit/r8jaq7Kk06SHWl7c/logo/totalis-light.png?fit=max\u0026auto=format\u0026n=r8jaq7Kk06SHWl7c\u0026q=85\u0026s=bfc2c43758a4153215b97f4f1f4a849e","dark":"https://mintcdn.com/ucalledit/r8jaq7Kk06SHWl7c/logo/totalis-dark.png?fit=max\u0026auto=format\u0026n=r8jaq7Kk06SHWl7c\u0026q=85\u0026s=c9cd04e32bfb6912c319d5bea48cb835"},"favicon":"https://mintcdn.com/ucalledit/r8jaq7Kk06SHWl7c/favicon.png?fit=max\u0026auto=format\u0026n=r8jaq7Kk06SHWl7c\u0026q=85\u0026s=c011a0a3e86a2aba4ac734a6c7cd366a","api":{"mdx":{"auth":{"method":"bearer"},"server":"https://api.totalis.trade"}},"background":{"color":{"light":"#FAFBFA","dark":"#0B0F0D"}},"navbar":{"links":[{"href":"https://app.totalis.trade/account/api-keys","label":"Get an API key"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.totalis.trade"}},"footer":{"socials":{"x":"https://x.com/totalistrading","github":"https://github.com/totalistrading"},"links":[{"header":"Status","items":[{"label":"Hyperliquid status","href":"https://status.totalis.trade"}]},{"header":"Legal","items":[{"label":"Terms of Service","href":"/terms-of-service"},{"label":"Privacy Policy","href":"/privacy-policy"}]}]},"seo":{"metatags":{"og:type":"website","og:site_name":"Totalis Documentation","og:locale":"en_US","og:image":"https://docs.totalis.trade/totalis.png","twitter:card":"summary_large_image","twitter:image":"https://docs.totalis.trade/totalis.png"}},"fonts":{"family":"DM Sans"},"contextual":{"options":["copy","view","chatgpt","claude","cursor"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ucalledit","hasAudioNarration":false,"actualSubdomain":"ucalledit","customDomains":["docs.totalis.trade"],"gitSource":{"type":"github","owner":"totalistrading","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af941d125f0e2ea6db75f43","clientVersion":"0.0.4160","searchFilterCounts":[{"language":"default","tag":"API reference","count":118},{"language":"default","tag":"Hyperliquid","count":98},{"language":"default","tag":"Solana","count":68},{"language":"default","tag":"Guides","count":62},{"language":"default","tag":"Account","count":22},{"language":"default","tag":"API keys","count":15},{"language":"default","tag":"RFQs \u0026 Quotes","count":14},{"language":"default","tag":"Resources","count":9},{"language":"default","tag":"Quote service","count":9},{"language":"default","tag":"Makers","count":9}]},"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":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":""}],"page":{"pagePath":"solana/authentication","slug":"/solana/authentication","pageMetadata":{"title":"Authentication","icon":"key","description":"Scoped API keys: how to get one, how to send it, the scope catalog, and how to manage and revoke keys.","href":"/solana/authentication"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Scoped API keys: how to get one, how to send it, the scope catalog, and how to manage and revoke keys.\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,Note,OptimizedImage,Step,Steps,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Every authenticated request carries your API key. On REST and the quote streams, send it in the\n`,_jsx(_components.code,{children:`X-API-Key`}),` header. On the WebSocket, send it in the first message. Keys are scoped, so a key can\nread without being able to trade, and trade without being able to withdraw.`]}),`\n`,_jsx(Heading,{level:`2`,id:`getting-your-api-key`,children:`Getting your API key`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Log in`,children:_jsxs(_components.p,{children:[`Open `,_jsx(_components.a,{href:`https://sol.totalis.trade`,children:`sol.totalis.trade`}),` and go to your account settings.`]})}),_jsxs(Step,{title:`Create the key`,children:[_jsxs(_components.p,{children:[`Name it and choose its scopes. Grant only what this integration needs. The presets map to the\n`,_jsx(_components.a,{href:`#scopes`,children:`scopes`}),` below: `,_jsx(_components.strong,{children:`Read-only`}),` is the four read scopes, `,_jsx(_components.strong,{children:`Trading`}),` adds `,_jsx(_components.code,{children:`trading:write`}),`\nand `,_jsx(_components.code,{children:`funds:deposit`}),`, and `,_jsx(_components.strong,{children:`Custom`}),` lets you tick scopes one by one. The API also accepts a\n`,_jsx(_components.code,{children:`full`}),` preset. See `,_jsx(_components.a,{href:`/solana/api-reference/user/create-api-key`,children:`Create API key`}),`.`]}),_jsx(Frame,{caption:`Creating a key with the Trading preset. Each checkbox is one scope from the catalog below.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/02-api-keys.png?fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=be1916f379998b3fa2fedc146859e4a0`,alt:`The API Keys settings page with a key name, the Trading preset selected, and the read, trading and funds permissions checked`,\"data-og-width\":`967`,width:`967`,\"data-og-height\":`846`,height:`846`,\"data-path\":`images/app/02-api-keys.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/02-api-keys.png?w=280\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=fe6680e8411596153268b0560feaeab4 280w, https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/02-api-keys.png?w=560\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=ff81d7db319d087722d64c3eae660160 560w, https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/02-api-keys.png?w=840\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=fc2fdfc93174fa862c576934fe2b71dc 840w, https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/02-api-keys.png?w=1100\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=b214fd67eedc3bc7b0fb111038639ac4 1100w, https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/02-api-keys.png?w=1650\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=344adffc220c472628d3e2e43fd2b3e9 1650w, https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/02-api-keys.png?w=2500\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=9465530b1272d33b2864cb48dbcc23ac 2500w`})})]}),_jsxs(Step,{title:`Copy it immediately`,children:[_jsxs(_components.p,{children:[`The full key is returned exactly once, in `,_jsx(_components.code,{children:`data.key`}),`.`]}),_jsx(Frame,{caption:`The only time the full key is visible`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/08-api-key-generated.png?fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=a2e61a1a4305a32f45273b06f52546bf`,alt:`The API key generated successfully banner with the new api_live key, a copy button, and the note that it will not be shown again`,\"data-og-width\":`877`,width:`877`,\"data-og-height\":`192`,height:`192`,\"data-path\":`images/app/08-api-key-generated.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/08-api-key-generated.png?w=280\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=482207939ad2c4cce7db8c08b0ca1137 280w, https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/08-api-key-generated.png?w=560\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=2787299d7dc414e90df1478734c6c15e 560w, https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/08-api-key-generated.png?w=840\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=bb492423b3e1d71f67afc6da4fbd6bc5 840w, https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/08-api-key-generated.png?w=1100\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=ca3d57a5cdea4308df980f49f19d7970 1100w, https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/08-api-key-generated.png?w=1650\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=3dbd926f0c39560845295478b4c9226b 1650w, https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/08-api-key-generated.png?w=2500\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=7e3344cbafc4acc82079e290f84f916a 2500w`})})]})]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Store the key in a secret manager before you close the dialog. It cannot be retrieved later, only\nrevoked and replaced.`})}),`\n`,_jsxs(_components.p,{children:[`Keys match `,_jsx(_components.code,{children:`api_(live|test)_[A-Za-z0-9_-]{28,36}`}),`. Every key you create is a live key and starts\n`,_jsx(_components.code,{children:`api_live_`}),`. There is no public test environment. Start with small real bets, or email\n`,_jsx(_components.a,{href:`mailto:founders@totalis.trade`,children:`founders@totalis.trade`}),` if you need a staging setup.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`The web app authenticates with a Privy JWT (`,_jsx(_components.code,{children:`Authorization: Bearer \u003cjwt>`}),`) instead of a key. Every\nendpoint accepts either. Creating, listing and revoking keys needs `,_jsx(_components.code,{children:`keys:manage`}),`. A Privy session\nalways holds it. A key holds it only if you granted it.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`using-your-api-key`,children:`Using your API key`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.totalis.trade/v1/portfolio`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-Key: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$TOTALIS_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`On the WebSocket, authenticate after connecting:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"auth\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"api_key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cyour-api-key>\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`A credential that does not start with `,_jsx(_components.code,{children:`api_`}),` gets `,_jsx(_components.code,{children:`403`}),` with reason `,_jsx(_components.code,{children:`wrong_api_key_type`}),`. A\nwell-formed but invalid or revoked key gets `,_jsx(_components.code,{children:`401`}),`. See `,_jsx(_components.a,{href:`/solana/errors#authentication`,children:`Errors`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`scopes`,children:`Scopes`}),`\n`,_jsxs(_components.p,{children:[`A key holds the scopes you chose at creation. A request that needs a scope the key lacks gets `,_jsx(_components.code,{children:`403`}),`\nwith reason `,_jsx(_components.code,{children:`insufficient_scope`}),`.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Scope`}),_jsx(_components.th,{children:`Grants`}),_jsx(_components.th,{children:`Risk`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`account:read`})}),_jsx(_components.td,{children:`View account profile and username.`}),_jsx(_components.td,{children:`low`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`markets:read`})}),_jsx(_components.td,{children:`Browse markets and exclusion groups. Market reads are public today, so no public endpoint checks it.`}),_jsx(_components.td,{children:`low`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`positions:read`})}),_jsxs(_components.td,{children:[`View quote requests, parlays, stats, and P\u0026L. Portfolio also needs `,_jsx(_components.code,{children:`balances:read`}),`.`]}),_jsx(_components.td,{children:`low`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`balances:read`})}),_jsx(_components.td,{children:`View wallet and vault balances and delegation status.`}),_jsx(_components.td,{children:`low`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`funds:deposit`})}),_jsx(_components.td,{children:`Move USDC into the vault.`}),_jsx(_components.td,{children:`low`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`trading:write`})}),_jsx(_components.td,{children:`Create, modify, commit, and cancel quote requests. Places parlays.`}),_jsx(_components.td,{children:`medium`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`account:write`})}),_jsx(_components.td,{children:`Change username and profile settings.`}),_jsx(_components.td,{children:`medium`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mm:quote`})}),_jsx(_components.td,{children:`Read quote requests and submit or confirm quotes as a market maker.`}),_jsx(_components.td,{children:`medium`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`funds:withdraw`})}),_jsx(_components.td,{children:`Move USDC out of the vault or wallet to any address.`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`high`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tx:sign`})}),_jsx(_components.td,{children:`Submit arbitrary signed Solana transactions.`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`high`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`keys:manage`})}),_jsx(_components.td,{children:`Create, list, and revoke API keys.`}),_jsx(_components.td,{children:_jsx(_components.strong,{children:`high`})})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Each high-risk scope lets a leaked key take everything. `,_jsx(_components.code,{children:`funds:withdraw`}),` sends USDC to any address.\n`,_jsx(_components.code,{children:`tx:sign`}),` submits arbitrary transactions. `,_jsx(_components.code,{children:`keys:manage`}),` mints more keys, including ones that outlive\nyour revocation of the original. Grant them only to keys that need them, and never to a key that\nlives in a browser or a CI log.`]})}),`\n`,_jsx(_components.p,{children:`Scopes by integration:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Integration`}),_jsx(_components.th,{children:`Scopes`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Dashboard or reconciliation, read only`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`account:read`}),`, `,_jsx(_components.code,{children:`positions:read`}),`, `,_jsx(_components.code,{children:`balances:read`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Trading bot`}),_jsxs(_components.td,{children:[`the four read scopes, plus `,_jsx(_components.code,{children:`trading:write`}),`, plus `,_jsx(_components.code,{children:`funds:deposit`}),` if it tops up the vault`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Market maker`}),_jsxs(_components.td,{children:[`the four read scopes, plus `,_jsx(_components.code,{children:`mm:quote`}),`, plus `,_jsx(_components.code,{children:`funds:deposit`}),` if you park collateral in the vault`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`managing-keys`,children:`Managing keys`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Action`}),_jsx(_components.th,{children:`Endpoint`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`List keys`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/solana/api-reference/user/list-api-keys`,children:_jsx(_components.code,{children:`GET /v1/api-keys`})})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Create key`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/solana/api-reference/user/create-api-key`,children:_jsx(_components.code,{children:`POST /v1/api-keys`})})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Revoke key`}),_jsx(_components.td,{children:_jsx(_components.a,{href:`/solana/api-reference/user/revoke-api-key`,children:_jsx(_components.code,{children:`DELETE /v1/api-keys/{prefix}`})})})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`{prefix}`}),` is the `,_jsx(_components.code,{children:`key_prefix`}),` value returned by both list and create: the short leading fragment\nthat listings show in place of the full secret. The app shows each key’s prefix, scopes, request\ncount and state, with a Revoke control on active keys.`]}),`\n`,_jsx(Frame,{caption:`The key list in the app. Only the prefix of each key is ever shown again.`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/09-api-keys-list.png?fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=66ff71e1f9341d84274462b20aa8f796`,alt:`Four API keys listed with their prefix, scopes, creation date, request count, and an active or revoked state`,\"data-og-width\":`892`,width:`892`,\"data-og-height\":`697`,height:`697`,\"data-path\":`images/app/09-api-keys-list.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/09-api-keys-list.png?w=280\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=9b32640e943fb3620a9402aab51117b4 280w, https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/09-api-keys-list.png?w=560\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=64db4a577ef655b0b353b7cf6922d77a 560w, https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/09-api-keys-list.png?w=840\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=22a6bf341008c1f115cb953bff04a050 840w, https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/09-api-keys-list.png?w=1100\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=1b2c72e4d9411d27af9205e97646f5bc 1100w, https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/09-api-keys-list.png?w=1650\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=9612ccd8476723107a32d2c898a7b0d2 1650w, https://mintcdn.com/ucalledit/YdiR6y3UIknGsFJp/images/app/09-api-keys-list.png?w=2500\u0026fit=max\u0026auto=format\u0026n=YdiR6y3UIknGsFJp\u0026q=85\u0026s=1982fc0ce86ec19bd9b70be9688bb24d 2500w`})}),`\n`,_jsxs(_components.p,{children:[`A new key can never grant a scope the creating credential does not already hold. A key with\n`,_jsx(_components.code,{children:`positions:read`}),` cannot mint a key with `,_jsx(_components.code,{children:`funds:withdraw`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`key-states`,children:`Key states`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`State`}),_jsx(_components.th,{children:`Behavior`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Active`}),_jsx(_components.td,{children:`Valid and accepted.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Revoked`}),_jsxs(_components.td,{children:[`Manually revoked. Rejected with `,_jsx(_components.code,{children:`401`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Expired`}),_jsxs(_components.td,{children:[`Past its expiration date. Rejected with `,_jsx(_components.code,{children:`401`}),`.`]})]})]})]}),`\n`,_jsx(_components.p,{children:`Keys you create yourself never expire, so they reach the Expired state only if they were minted with\nan expiry.`}),`\n`,_jsxs(_components.p,{children:[`Revocation takes effect immediately. Revoking one key among several does not stop webhook delivery,\nbecause webhook endpoints belong to your account, not to the key that created them. See\n`,_jsx(_components.a,{href:`/solana/guides/webhooks`,children:`Webhooks`}),`.`]})]})}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":{"config":{},"pageMetadata":{"title":"Authentication","icon":"key","description":"Scoped API keys: how to get one, how to send it, the scope catalog, and how to manage and revoke keys.","href":"/solana/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Getting your API key","slug":"getting-your-api-key","depth":2,"children":[]},{"title":"Using your API key","slug":"using-your-api-key","depth":2,"children":[]},{"title":"Scopes","slug":"scopes","depth":2,"children":[]},{"title":"Managing keys","slug":"managing-keys","depth":2,"children":[]},{"title":"Key states","slug":"key-states","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"ucalledit","siteName":"Totalis","title":"Authentication - Totalis","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-14T00:55:06.001Z","originalFileLocation":"solana/authentication.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=\"Scoped API keys: how to get one, how to send it, the scope catalog, and how to manage and revoke keys.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Totalis\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_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/ucalledit/nSbc8XH_JELxakJk/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - Totalis\">\u003cmeta data-mint-head property=\"og:description\" content=\"Scoped API keys: how to get one, how to send it, the scope catalog, and how to manage and revoke keys.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Totalis Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.totalis.trade/solana/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.totalis.trade/totalis.png\">\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=\"Authentication - Totalis\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Scoped API keys: how to get one, how to send it, the scope catalog, and how to manage and revoke keys.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.totalis.trade/totalis.png\">\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/ucalledit/nSbc8XH_JELxakJk/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Totalis\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.totalis.trade/solana/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/solana/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.totalis.trade/#organization\",\"name\":\"Totalis\",\"url\":\"https://docs.totalis.trade\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ucalledit/r8jaq7Kk06SHWl7c/logo/totalis-light.png?fit=max\u0026auto=format\u0026n=r8jaq7Kk06SHWl7c\u0026q=85\u0026s=bfc2c43758a4153215b97f4f1f4a849e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.totalis.trade#website\",\"name\":\"Totalis\",\"url\":\"https://docs.totalis.trade\",\"publisher\":{\"@id\":\"https://docs.totalis.trade/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.totalis.trade/solana/authentication#webpage\",\"url\":\"https://docs.totalis.trade/solana/authentication\",\"name\":\"Authentication\",\"description\":\"Scoped API keys: how to get one, how to send it, the scope catalog, and how to manage and revoke keys.\",\"dateModified\":\"2026-11-14T00:55:06.001Z\",\"isPartOf\":{\"@id\":\"https://docs.totalis.trade#website\"},\"breadcrumb\":{\"@id\":\"https://docs.totalis.trade/solana/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.totalis.trade/solana/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get started\",\"item\":\"https://docs.totalis.trade/solana/quickstart\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://docs.totalis.trade/solana/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.totalis.trade/solana/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"Scoped API keys: how to get one, how to send it, the scope catalog, and how to manage and revoke keys.\",\"url\":\"https://docs.totalis.trade/solana/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://docs.totalis.trade/solana/authentication#webpage\"},\"image\":\"https://docs.totalis.trade/totalis.png\",\"dateModified\":\"2026-11-14T00:55:06.001Z\",\"publisher\":{\"@id\":\"https://docs.totalis.trade/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.totalis.trade#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Totalis\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Totalis\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/solana/authentication.md","siteName":"Totalis","nav":{"global":{"anchors":[]},"products":[{"product":"Hyperliquid","description":"Combos on Hyperliquid HIP-4 prediction markets, quoted by market makers and settled on HyperEVM","pages":[{"title":"Hyperliquid","href":"/hyperliquid"}]},{"product":"Solana","description":"Parlays across Kalshi and Polymarket, settled on Solana","tabs":[{"tab":"Guides","groups":[{"group":"Overview","pages":[{"title":"Introduction","icon":"house","href":"/solana"}]},{"group":"Get started","pages":[{"title":"Quickstart","icon":"rocket","href":"/solana/quickstart"},{"title":"How do I","icon":"circle-question","description":"The ten things integrators ask first, each answered in two lines with the call to make.","href":"/solana/how-do-i"},{"title":"Authentication","icon":"key","href":"/solana/authentication"}]},{"group":"Core concepts","pages":[{"title":"How parlays work","icon":"arrows-spin","description":"The path a parlay takes from quote request, through market maker pricing and commit, to on-chain settlement, and how to close one early.","href":"/solana/guides/lifecycle"},{"title":"Limits and fees","icon":"scale-balanced","href":"/solana/limits-and-fees"},{"title":"Funding your wallet","icon":"wallet","href":"/solana/guides/funding"},{"title":"Vaults and custody","icon":"vault","href":"/solana/guides/vault-architecture"},{"title":"Glossary","icon":"book","href":"/solana/glossary"}]},{"group":"Guides","pages":[{"title":"Real time and data channels","icon":"tower-broadcast","href":"/solana/guides/realtime"},{"title":"Event catalog","icon":"list","href":"/solana/guides/event-catalog"},{"title":"Reading your data","icon":"chart-line","href":"/solana/guides/reading-data"},{"title":"Webhooks","icon":"webhook","href":"/solana/guides/webhooks"},{"title":"WebSocket","icon":"plug","href":"/solana/guides/websocket"},{"title":"Early cashout","icon":"hand-holding-dollar","href":"/solana/guides/early-cashout"},{"title":"Quote requests in depth","icon":"bolt","href":"/solana/guides/quote-requests"},{"title":"Market making","icon":"handshake","href":"/solana/guides/market-making"},{"title":"Cashout auctions","icon":"gavel","href":"/solana/guides/cashout-auctions"}]},{"group":"Resources","pages":[{"title":"FAQ","icon":"circle-question","href":"/solana/faq"},{"title":"Changelog","icon":"clock-rotate-left","href":"/solana/changelog"},{"title":"Referrals","icon":"gift","href":"/solana/referrals"},{"title":"Terms of Service","icon":"file-contract","href":"/terms-of-service"},{"title":"Privacy Policy","icon":"shield-halved","href":"/privacy-policy"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/solana/api-reference/introduction"}]}]}]},"basePath":"","title":"Authentication - Totalis","buildId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","deploymentId":"dpl_GRSyrvXT6FFTpZZTGz5iZPp3D2zE","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-RDXR0lmt.js","DynamicMarkdown-Z_y464fM.js","zoom-image-lightbox-D5uLWhtj.js","lightbox-handle-r17bVUz3.js"]}