{ "success": true, "result": { "id": "chg_9f8e7d6c5b4a3210", "message": "api.ondoperps.xyz wants you to sign in with your Ethereum account:\n0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18\n\nSign in to Ondo Perps\n\nURI: https://api.ondoperps.xyz\nVersion: 1\nChain ID: 1\nNonce: abc123\nIssued At: 2025-03-05T14:30:00Z" }}
{
"success": false,
"error": "Description of the error",
"error_code": "challenge_not_found"
}
{
"success": false,
"error": "Description of the error",
"error_code": "too_many_requests"
}
{
"success": false,
"error": "Description of the error",
"error_code": "unknown"
}
Auth
Get SIWE Login Challenge
Get a Sign-In with Ethereum (ERC-4361) challenge for login.
{ "success": true, "result": { "id": "chg_9f8e7d6c5b4a3210", "message": "api.ondoperps.xyz wants you to sign in with your Ethereum account:\n0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18\n\nSign in to Ondo Perps\n\nURI: https://api.ondoperps.xyz\nVersion: 1\nChain ID: 1\nNonce: abc123\nIssued At: 2025-03-05T14:30:00Z" }}
{
"success": false,
"error": "Description of the error",
"error_code": "challenge_not_found"
}
{
"success": false,
"error": "Description of the error",
"error_code": "too_many_requests"
}
{
"success": false,
"error": "Description of the error",
"error_code": "unknown"
}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ondo Perps","colors":{"primary":"#1DA66A","light":"#1DA66A","dark":"#000000"},"logo":{"light":"https://mintcdn.com/ondoperps/CBHPBkgfPQ3nc5m8/logo/logo-black.svg?fit=max\u0026auto=format\u0026n=CBHPBkgfPQ3nc5m8\u0026q=85\u0026s=f138af016516ef9bfa0eafe281a3c9f5","dark":"https://mintcdn.com/ondoperps/CBHPBkgfPQ3nc5m8/logo/logo-white.svg?fit=max\u0026auto=format\u0026n=CBHPBkgfPQ3nc5m8\u0026q=85\u0026s=5d3aac5641eb541f8cc57fff356f89e5"},"favicon":{"light":"https://mintcdn.com/ondoperps/WUtC3JLf1OUlnujF/images/Favicon.svg?fit=max\u0026auto=format\u0026n=WUtC3JLf1OUlnujF\u0026q=85\u0026s=036faf10024c598eb0dc47ef335c8dc4","dark":"https://mintcdn.com/ondoperps/WUtC3JLf1OUlnujF/images/Favicon.svg?fit=max\u0026auto=format\u0026n=WUtC3JLf1OUlnujF\u0026q=85\u0026s=036faf10024c598eb0dc47ef335c8dc4"},"appearance":{"default":"dark"},"background":{"color":{"dark":"#141414"}},"navbar":{"links":[]},"footer":{"socials":{"x":"https://x.com/OndoPerps"}},"fonts":{"family":"Gellix","weight":500,"source":"https://ondo.finance/fonts/Gellix/Gellix-Regular.woff2","format":"woff2"},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Ondo Perps Website","icon":"globe","href":"https://ondoperps.xyz"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ondoperps","hasAudioNarration":false,"actualSubdomain":"ondoperps","customDomains":["docs.ondoperps.xyz"],"gitSource":{"type":"github","owner":"ondoprotocol","repo":"perps-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aecbf13dab9b27b2442220d","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API Reference","count":129},{"language":"default","tag":"REST API","count":96},{"language":"default","tag":"FAQs","count":84},{"language":"default","tag":"WebSocket API","count":30},{"language":"default","tag":"Wallet","count":14},{"language":"default","tag":"Private Channels","count":13},{"language":"default","tag":"Spot trading","count":13},{"language":"default","tag":"Market Data","count":8},{"language":"default","tag":"Orders","count":8},{"language":"default","tag":"Trading","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html:not(.geofence-checked) #content-area{visibility:hidden}html:not(.geofence-checked) #sidebar,html:not(.geofence-checked) #content-side-layout,html:not(.geofence-checked) #search-bar-entry,html:not(.geofence-checked) #search-bar-entry-mobile,html:not(.geofence-checked) #assistant-entry,html:not(.geofence-checked) .nav-tabs,html.geofence-restricted #sidebar,html.geofence-restricted #content-side-layout,html.geofence-restricted #search-bar-entry,html.geofence-restricted #search-bar-entry-mobile,html.geofence-restricted #assistant-entry,html.geofence-restricted .nav-tabs{display:none!important}html.geofence-restricted #content-area{padding-left:0!important;margin-left:0!important;width:100%!important;max-width:none!important}html:not(.geofence-checked) body::before{content:\"\";position:fixed;top:50%;left:50%;width:32px;height:32px;margin:-16px 0 0 -16px;border:3px solid rgba(128, 128, 128, 0.2);border-top-color:#1DA66A;border-radius:50%;animation:geofence-spin 0.8s linear infinite;z-index:9999;pointer-events:none}@keyframes geofence-spin{to{transform:rotate(360deg)}}html.dark #content-area h1,html.dark #content-area h2,html.dark #content-area h3,html.dark #content-area h4,html.dark #content-area h5,html.dark #content-area h6{color:#FFFFFF!important}html.dark #content-area p,html.dark #content-area li,html.dark #content-area td,html.dark #content-area .prose,html.dark #content-area .prose p,html.dark #content-area .prose li{color:#DEDEDE!important}html.dark #content-area strong{color:#FFFFFF!important}html:not(.dark) #content-area h1,html:not(.dark) #content-area h2,html:not(.dark) #content-area h3,html:not(.dark) #content-area h4,html:not(.dark) #content-area h5,html:not(.dark) #content-area h6{color:#000000!important}html:not(.dark) #content-area p,html:not(.dark) #content-area li,html:not(.dark) #content-area td,html:not(.dark) #content-area .prose,html:not(.dark) #content-area .prose p,html:not(.dark) #content-area .prose li{color:#626262!important}html:not(.dark) #content-area strong{color:#000000!important}[data-callout-type=\"note\"]{background-color:#E0ECFF!important;border-color:#1C3966!important;color:#1C3966!important}[data-callout-type=\"note\"] *,[data-callout-type=\"note\"] p,[data-callout-type=\"note\"] span,[data-callout-type=\"note\"] strong,[data-callout-type=\"note\"] a{color:#1C3966!important}[data-callout-type=\"note\"] svg{color:#1C3966!important;fill:#1C3966!important}[data-callout-type=\"note\"] *:not(svg){background-color:transparent!important}html.dark #sidebar a:hover,html.dark #sidebar li a:hover,html.dark nav a:hover,html.dark nav li a:hover,html.dark aside a:hover{background-color:#1D1D1D!important}html.dark #sidebar a[aria-current=\"page\"],html.dark #sidebar a.active,html.dark nav a[aria-current=\"page\"],html.dark nav a.active,html.dark aside a[aria-current=\"page\"]{background-color:#003829!important}html:not(.dark) #sidebar a:hover,html:not(.dark) #sidebar li a:hover,html:not(.dark) nav a:hover,html:not(.dark) nav li a:hover,html:not(.dark) aside a:hover{background-color:#F4F4F4!important}html:not(.dark) #sidebar a[aria-current=\"page\"],html:not(.dark) #sidebar a.active,html:not(.dark) nav a[aria-current=\"page\"],html:not(.dark) nav a.active,html:not(.dark) aside a[aria-current=\"page\"]{background-color:#E5F8F3!important}#content-area a[class*=\"card\"]:hover,#content-area .card:hover,#content-area [class*=\"Card\"]:hover{border-color:#1DA66A!important}#content-area a{color:#1DA66A!important;text-decoration:none!important}#content-area a:hover{color:#1DA66A!important;opacity:0.85}html:not(.dark) #content-area pre code{background-color:#F0F0F0!important}html:not(.dark) #content-area pre *:not([data-fade-overlay]){background-color:transparent!important}html:not(.dark) #content-area pre [data-fade-overlay]{--fade-color-light: #F0F0F0 !important;background:linear-gradient(to right, transparent, #F0F0F0)!important;background-color:transparent!important}html.dark #content-area pre [data-fade-overlay]{--fade-color-dark: #0B0C0E !important}#sidebar h3.sidebar-title:first-of-type,aside h3.sidebar-title:first-of-type,nav h3.sidebar-title:first-of-type{display:none!important}html.dark #sidebar a[aria-current=\"page\"]:hover,html.dark #sidebar a.active:hover,html.dark nav a[aria-current=\"page\"]:hover,html.dark nav a.active:hover,html.dark aside a[aria-current=\"page\"]:hover,html.dark aside a.active:hover{background-color:#003829!important}html:not(.dark) #sidebar a[aria-current=\"page\"]:hover,html:not(.dark) #sidebar a.active:hover,html:not(.dark) nav a[aria-current=\"page\"]:hover,html:not(.dark) nav a.active:hover,html:not(.dark) aside a[aria-current=\"page\"]:hover,html:not(.dark) aside a.active:hover{background-color:#E5F8F3!important}"}],"page":{"pagePath":"api-reference/auth/get-siwe-login-challenge","slug":"/api-reference/auth/get-siwe-login-challenge","pageMetadata":{"title":"Get SIWE Login Challenge","description":"Get a Sign-In with Ethereum (ERC-4361) challenge for login.","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/auth/erc-4361/login/get_challenge","href":"/api-reference/auth/get-siwe-login-challenge","autogeneratedByOpenApi":true},"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: \"Get a Sign-In with Ethereum (ERC-4361) challenge for login.\"\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 SIWE Login Challenge","description":"Get a Sign-In with Ethereum (ERC-4361) challenge for login.","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/auth/erc-4361/login/get_challenge","href":"/api-reference/auth/get-siwe-login-challenge","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/ondoperps/95a49d9b1f9f45ef/geofence.js"],"openApiReferenceData":{"operation":{"summary":"Get SIWE Login Challenge","security":[],"description":"Get a Sign-In with Ethereum (ERC-4361) challenge for login.","operationId":"getSIWEChallenge","tags":["Auth"],"requestBody":"9b3ef77e-af79-46af-b6e8-03b3cbb8b72f","responses":{"200":"04a5b050-7826-4116-9b8b-9bf512273eb9","400":"13e4a41e-4a71-4050-90ac-6ff880b0ae94","429":"46585f71-42a0-4162-9941-b3ce3ce0190f","500":"254bab5f-3362-4064-83fd-ff6c2d5a94c1"},"method":"post","type":"path","servers":["2fdc8305-0e88-432e-9aa5-5a04c9598709"],"path":"/v1/auth/erc-4361/login/get_challenge","baseUrlOptions":["https://api.ondoperps.xyz"],"title":"Get SIWE Login Challenge","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["walletAddress","chainId"],"properties":{"walletAddress":{"type":"string","description":"The wallet address requesting to sign in","example":"0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18","isRequired":true,"uniqueKey":"walletAddress","typeLabel":"string"},"chainId":{"type":"string","description":"EVM chain ID (1=Ethereum, 43114=Avalanche)","example":"1","enum":["1","43114"],"isRequired":true,"uniqueKey":"chainId","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"walletAddress":"0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18","chainId":"1"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"04a5b050-7826-4116-9b8b-9bf512273eb9":{"description":"Challenge message for signing","content":{"application/json":{"schema":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","description":"Whether the request was successful","example":true,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Error message, present only on failure","example":"","uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","description":"Semantic error code. See each endpoint's error responses for the specific codes it can return.","uniqueKey":"error_code","typeLabel":"string"},"deprecated":{"type":"string","description":"Deprecation notice, if applicable","example":"","uniqueKey":"deprecated","typeLabel":"string"},"result":{"type":"object","required":["id","message"],"properties":{"id":{"type":"string","description":"Challenge ID","example":"abc123","isRequired":true,"uniqueKey":"result.id","typeLabel":"string"},"message":{"type":"string","description":"Message to be signed by the wallet","isRequired":true,"uniqueKey":"result.message","typeLabel":"string"}},"uniqueKey":"result","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":true,"result":{"id":"chg_9f8e7d6c5b4a3210","message":"api.ondoperps.xyz wants you to sign in with your Ethereum account:\n0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18\n\nSign in to Ondo Perps\n\nURI: https://api.ondoperps.xyz\nVersion: 1\nChain ID: 1\nNonce: abc123\nIssued At: 2025-03-05T14:30:00Z"}},"examples":{"Example":{"title":"Example","value":{"success":true,"result":{"id":"chg_9f8e7d6c5b4a3210","message":"api.ondoperps.xyz wants you to sign in with your Ethereum account:\n0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18\n\nSign in to Ondo Perps\n\nURI: https://api.ondoperps.xyz\nVersion: 1\nChain ID: 1\nNonce: abc123\nIssued At: 2025-03-05T14:30:00Z"}}}},"exampleType":"examples"}},"exampleType":"examples"},"13e4a41e-4a71-4050-90ac-6ff880b0ae94":{"description":"Bad request. The request was malformed or failed validation.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Human-readable error message","uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["challenge_not_found"],"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":"Description of the error","error_code":"challenge_not_found"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Description of the error","error_code":"challenge_not_found"}}},"exampleType":"examples"}},"exampleType":"examples"},"46585f71-42a0-4162-9941-b3ce3ce0190f":{"description":"Rate limit exceeded. Slow down request frequency.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Human-readable error message","uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["too_many_requests"],"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":"Description of the error","error_code":"too_many_requests"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Description of the error","error_code":"too_many_requests"}}},"exampleType":"examples"}},"exampleType":"examples"},"254bab5f-3362-4064-83fd-ff6c2d5a94c1":{"description":"Internal server error.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Human-readable error message","uniqueKey":"error","typeLabel":"string"},"error_code":{"type":"string","enum":["server_is_busy","service_unavailable","unknown"],"uniqueKey":"error_code","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"error":"Description of the error","error_code":"unknown"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"Description of the error","error_code":"unknown"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{},"servers":{"2fdc8305-0e88-432e-9aa5-5a04c9598709":{"url":"https://api.ondoperps.xyz"}}},"originalFileLocation":"api-reference/rest-spec.json"},"subdomain":"ondoperps","siteName":"Ondo Perps","title":"Get SIWE Login Challenge - Ondo Perps","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-20T10:46:26.772Z","originalFileLocation":"api-reference/auth/get-siwe-login-challenge.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get a Sign-In with Ethereum (ERC-4361) challenge for login.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ondo Perps\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ondoperps/yqrzVHj6_lGFoldF/_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/ondoperps/yqrzVHj6_lGFoldF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ondoperps/yqrzVHj6_lGFoldF/_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/ondoperps/yqrzVHj6_lGFoldF/_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/ondoperps/yqrzVHj6_lGFoldF/_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/ondoperps/yqrzVHj6_lGFoldF/_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/ondoperps/yqrzVHj6_lGFoldF/_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/ondoperps/yqrzVHj6_lGFoldF/_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/ondoperps/yqrzVHj6_lGFoldF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get SIWE Login Challenge - Ondo Perps\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get a Sign-In with Ethereum (ERC-4361) challenge for login.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ondo Perps\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ondoperps.xyz/api-reference/auth/get-siwe-login-challenge\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ondoperps.mintlify.site/_mintlify/api/og/v2?division=Auth\u0026amp;title=Get+SIWE+Login+Challenge\u0026amp;description=Get+a+Sign-In+with+Ethereum+%28ERC-4361%29+challenge+for+login.\u0026amp;theme=00135971b24a8049d9d2cfb7\u0026amp;signature=fa4d6883a2471e387f9bd4c59d38c1ed6e8629eab21570827e69a571316aa3e7\">\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 SIWE Login Challenge - Ondo Perps\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get a Sign-In with Ethereum (ERC-4361) challenge for login.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ondoperps.mintlify.site/_mintlify/api/og/v2?division=Auth\u0026amp;title=Get+SIWE+Login+Challenge\u0026amp;description=Get+a+Sign-In+with+Ethereum+%28ERC-4361%29+challenge+for+login.\u0026amp;theme=00135971b24a8049d9d2cfb7\u0026amp;signature=fa4d6883a2471e387f9bd4c59d38c1ed6e8629eab21570827e69a571316aa3e7\">\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/ondoperps/yqrzVHj6_lGFoldF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ondo Perps\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1DA66A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ondoperps.xyz/api-reference/auth/get-siwe-login-challenge\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/auth/get-siwe-login-challenge.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ondoperps.xyz/#organization\",\"name\":\"Ondo Perps\",\"url\":\"https://docs.ondoperps.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ondoperps/CBHPBkgfPQ3nc5m8/logo/logo-black.svg?fit=max\u0026auto=format\u0026n=CBHPBkgfPQ3nc5m8\u0026q=85\u0026s=f138af016516ef9bfa0eafe281a3c9f5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ondoperps.xyz#website\",\"name\":\"Ondo Perps\",\"url\":\"https://docs.ondoperps.xyz\",\"publisher\":{\"@id\":\"https://docs.ondoperps.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ondoperps.xyz/api-reference/auth/get-siwe-login-challenge#webpage\",\"url\":\"https://docs.ondoperps.xyz/api-reference/auth/get-siwe-login-challenge\",\"name\":\"Get SIWE Login Challenge\",\"description\":\"Get a Sign-In with Ethereum (ERC-4361) challenge for login.\",\"dateModified\":\"2026-10-20T10:46:26.772Z\",\"isPartOf\":{\"@id\":\"https://docs.ondoperps.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ondoperps.xyz/api-reference/auth/get-siwe-login-challenge#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ondoperps.xyz/api-reference/auth/get-siwe-login-challenge#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"REST API\",\"item\":\"https://docs.ondoperps.xyz/api-reference/tool/get-status\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get SIWE Login Challenge\",\"item\":\"https://docs.ondoperps.xyz/api-reference/auth/get-siwe-login-challenge\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ondoperps.xyz/api-reference/auth/get-siwe-login-challenge#apireference\",\"headline\":\"Get SIWE Login Challenge\",\"name\":\"Get SIWE Login Challenge\",\"description\":\"Get a Sign-In with Ethereum (ERC-4361) challenge for login.\",\"url\":\"https://docs.ondoperps.xyz/api-reference/auth/get-siwe-login-challenge\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ondoperps.xyz/api-reference/auth/get-siwe-login-challenge#webpage\"},\"dateModified\":\"2026-10-20T10:46:26.772Z\",\"publisher\":{\"@id\":\"https://docs.ondoperps.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ondoperps.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ondo Perps\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Ondo Perps\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/auth/get-siwe-login-challenge.md","siteName":"Ondo Perps","nav":{"global":{"anchors":[{"anchor":"Ondo Perps Website","icon":"globe","href":"https://ondoperps.xyz"}]},"tabs":[{"tab":"FAQs","pages":[{"title":"FAQs","href":"/about"}]},{"tab":"API Reference","groups":[{"group":"Authentication","pages":[{"title":"API Key Authentication","href":"/api-reference/api_key_authentication"}]},{"group":"Guides","pages":[{"title":"Builder Integration Guide","href":"/api-reference/integration_guide"},{"title":"Spot API guide","href":"/api-reference/spot-api-guide"}]},{"group":"REST API","pages":[{"group":"Tool","pages":[{"title":"Get Status","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /status","href":"/api-reference/tool/get-status"},{"title":"Hello","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /hello","href":"/api-reference/tool/hello"}]},{"group":"Account","pages":[{"title":"Get Account","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/account","href":"/api-reference/account/get-account"},{"title":"Get Open Order Counts","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/counts/orders","href":"/api-reference/account/get-open-order-counts"}]},{"group":"Builder Code","pages":[{"title":"Get Builder Code Statistics","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/builder_code/stats","href":"/api-reference/builder-code/get-builder-code-statistics"},{"title":"Get Recent Builder Code Fills","description":"Returns the most recent fills attributed to the builder code owned by the authenticated account, newest first, across every account that traded with that code. The exchange retains at most 200 fills per builder code.\n\nUse this endpoint to resynchronize after a `builderFills` WebSocket disconnect: reconnect, subscribe, then call this endpoint and de-duplicate by `fillId`. It is a short recovery window, not a fill history. For totals over an arbitrary period, use the builder-code statistics endpoint instead.\n\nThe retained window is rebuilt when the exchange restarts, so a response can contain fewer than 200 fills shortly afterwards.","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/builder_code/fills","href":"/api-reference/builder-code/get-recent-builder-code-fills"}]},{"group":"Auth","pages":[{"title":"Get SIWE Login Challenge","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/auth/erc-4361/login/get_challenge","href":"/api-reference/auth/get-siwe-login-challenge"},{"title":"Complete SIWE Login","description":"Complete Sign-In with Ethereum by submitting the signed challenge. Returns JWT.","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/auth/erc-4361/login/complete_challenge","href":"/api-reference/auth/complete-siwe-login"},{"title":"Get SIWE Address Book Challenge","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/auth/erc-4361/address_book/get_challenge","href":"/api-reference/auth/get-siwe-address-book-challenge"},{"title":"Complete SIWE Address Book Challenge","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/auth/erc-4361/address_book/complete_challenge","href":"/api-reference/auth/complete-siwe-address-book-challenge"},{"title":"Invalidate JWT","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/auth/invalidate_jwt","href":"/api-reference/auth/invalidate-jwt"}]},{"group":"Markets","pages":[{"title":"Get Markets","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/markets","href":"/api-reference/markets/get-markets"}]},{"group":"Sandbox","pages":[{"title":"Sandbox Deposit","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/sandbox_deposit","href":"/api-reference/sandbox/sandbox-deposit"},{"title":"Sandbox Withdrawal","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/sandbox_withdrawal","href":"/api-reference/sandbox/sandbox-withdrawal"}]},{"group":"Wallet","pages":[{"title":"Withdraw","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/withdraw","href":"/api-reference/wallet/withdraw"},{"title":"Provision Deposit Address","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/provision_address","href":"/api-reference/wallet/provision-deposit-address"},{"title":"Get Withdrawal Status","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/get_withdrawal_status","href":"/api-reference/wallet/get-withdrawal-status"},{"title":"List Deposits","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/wallet/deposits","href":"/api-reference/wallet/list-deposits"},{"title":"Get Deposit by ID","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/wallet/deposits/{depositID}","href":"/api-reference/wallet/get-deposit-by-id"},{"title":"List Withdrawals","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/wallet/withdrawals","href":"/api-reference/wallet/list-withdrawals"},{"title":"Get Withdrawal Limits","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/wallet/withdrawals/limit","href":"/api-reference/wallet/get-withdrawal-limits"},{"title":"Get Withdrawal by ID","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/wallet/withdrawals/{withdrawalID}","href":"/api-reference/wallet/get-withdrawal-by-id"},{"title":"List Deposit Addresses","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/wallet/deposit_address/list","href":"/api-reference/wallet/list-deposit-addresses"},{"title":"Export Deposits CSV","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/wallet/deposits/csv","href":"/api-reference/wallet/export-deposits-csv"},{"title":"Export Withdrawals CSV","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/wallet/withdrawals/csv","href":"/api-reference/wallet/export-withdrawals-csv"},{"title":"Get Address Book","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/wallet/address_book","href":"/api-reference/wallet/get-address-book"},{"title":"Edit Address Book Entry","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json put /v1/wallet/address_book","href":"/api-reference/wallet/edit-address-book-entry"},{"title":"Remove Address Book Entry","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/wallet/address_book","href":"/api-reference/wallet/remove-address-book-entry"}]},{"group":"API Keys","pages":[{"title":"List API Keys","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/api_keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create API Key","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/api_keys","href":"/api-reference/api-keys/create-api-key"},{"title":"Delete API Key","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/api_keys/{apiKeyID}","href":"/api-reference/api-keys/delete-api-key"},{"title":"Set API Key IP Whitelist","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/api_keys/{apiKeyID}/ip_whitelist","href":"/api-reference/api-keys/set-api-key-ip-whitelist"},{"title":"Remove API Key IP Whitelist Entry","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/api_keys/{apiKeyID}/ip_whitelist","href":"/api-reference/api-keys/remove-api-key-ip-whitelist-entry"}]},{"group":"Orders","pages":[{"title":"Get Orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/orders","href":"/api-reference/orders/get-orders"},{"title":"Create Order","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/perps/orders","href":"/api-reference/orders/create-order"},{"title":"Cancel All Orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/perps/orders","href":"/api-reference/orders/cancel-all-orders"},{"title":"Create Batched Orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/perps/orders/batch","href":"/api-reference/orders/create-batched-orders"},{"title":"Batch Cancel Orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/perps/orders/batch","href":"/api-reference/orders/batch-cancel-orders"},{"title":"Get Order by ID","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/orders/{orderID}","href":"/api-reference/orders/get-order-by-id"},{"title":"Cancel Order by ID","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/perps/orders/{orderID}","href":"/api-reference/orders/cancel-order-by-id"},{"title":"Get Orders CSV","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/orders/csv","href":"/api-reference/orders/get-orders-csv"}]},{"group":"TWAP Orders","pages":[{"title":"Create TWAP Order","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/perps/twap/order","href":"/api-reference/twap-orders/create-twap-order"},{"title":"Get TWAP Order by ID","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/twap/order/{orderID}","href":"/api-reference/twap-orders/get-twap-order-by-id"},{"title":"Cancel TWAP Order","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/perps/twap/order/{orderID}","href":"/api-reference/twap-orders/cancel-twap-order"},{"title":"Get TWAP Order Fills","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/twap/order/{orderID}/fills","href":"/api-reference/twap-orders/get-twap-order-fills"},{"title":"Get Running TWAP Orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/twap/orders/running","href":"/api-reference/twap-orders/get-running-twap-orders"},{"title":"Get TWAP Order History","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/twap/orders/history","href":"/api-reference/twap-orders/get-twap-order-history"}]},{"group":"Fills","pages":[{"title":"Get Fills","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/fills","href":"/api-reference/fills/get-fills"},{"title":"Get Fills by Order ID","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/orders/{orderID}/fills","href":"/api-reference/fills/get-fills-by-order-id"},{"title":"Get Fills CSV","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/fills/csv","href":"/api-reference/fills/get-fills-csv"}]},{"group":"Market Data","pages":[{"title":"Get Trades","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/trades","href":"/api-reference/market-data/get-trades"},{"title":"Get Order Book Depth","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/depth","href":"/api-reference/market-data/get-order-book-depth"},{"title":"Get Candles","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/candles","href":"/api-reference/market-data/get-candles"},{"title":"Get Symbol Info (TradingView)","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/symbol_info","href":"/api-reference/market-data/get-symbol-info-tradingview"},{"title":"Get Price History (TradingView)","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/history","href":"/api-reference/market-data/get-price-history-tradingview"},{"title":"Get Open Interest","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/open_interest","href":"/api-reference/market-data/get-open-interest"},{"title":"Get Volume","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/volume","href":"/api-reference/market-data/get-volume"},{"title":"Get Contracts","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/contracts","href":"/api-reference/market-data/get-contracts"}]},{"group":"Positions","pages":[{"title":"Get Positions","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/positions","href":"/api-reference/positions/get-positions"},{"title":"Get Leverage","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/leverage","href":"/api-reference/positions/get-leverage"},{"title":"Set Leverage","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/perps/leverage","href":"/api-reference/positions/set-leverage"}]},{"group":"Margin Account","pages":[{"title":"Get Balance","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/balance","href":"/api-reference/margin-account/get-balance"},{"title":"Get Orders Summaries","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/orders_summaries","href":"/api-reference/margin-account/get-orders-summaries"},{"title":"Get Max Order Size","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/max_order_size","href":"/api-reference/margin-account/get-max-order-size"},{"title":"Get Liquidation History","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/liquidation_history","href":"/api-reference/margin-account/get-liquidation-history"}]},{"group":"Funding Rate","pages":[{"title":"Get Funding Rates","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/funding_rates","href":"/api-reference/funding-rate/get-funding-rates"},{"title":"Get Funding Rate History","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/funding_rate_history","href":"/api-reference/funding-rate/get-funding-rate-history"},{"title":"Get Funding Fee Payments","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/funding_fees","href":"/api-reference/funding-rate/get-funding-fee-payments"},{"title":"Get Mark Prices","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/mark_prices","href":"/api-reference/funding-rate/get-mark-prices"}]},{"group":"Stop Orders","pages":[{"title":"Get Stop Orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/perps/stop_order","href":"/api-reference/stop-orders/get-stop-orders"},{"title":"Set Stop Order","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/perps/stop_order","href":"/api-reference/stop-orders/set-stop-order"},{"title":"Remove Stop Order","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/perps/stop_order","href":"/api-reference/stop-orders/remove-stop-order"}]},{"group":"Portfolio","pages":[{"title":"Get Portfolio Summary","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/portfolio/summary","href":"/api-reference/portfolio/get-portfolio-summary"},{"title":"Get Portfolio Summary Graph","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/portfolio/summary/graph","href":"/api-reference/portfolio/get-portfolio-summary-graph"}]},{"group":"Spot balances and transfers","pages":[{"title":"Get Spot balances","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/balances","href":"/api-reference/spot-balances-and-transfers/get-spot-balances"},{"title":"List Spot transfers","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/transfers","href":"/api-reference/spot-balances-and-transfers/list-spot-transfers"},{"title":"Create Spot transfer","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/spot/transfers","href":"/api-reference/spot-balances-and-transfers/create-spot-transfer"}]},{"group":"Spot market data","pages":[{"title":"Get Spot tickers","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/ticker","href":"/api-reference/spot-market-data/get-spot-tickers"},{"title":"Get Spot order book","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/depth","href":"/api-reference/spot-market-data/get-spot-order-book"},{"title":"List Spot trades","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/trades","href":"/api-reference/spot-market-data/list-spot-trades"},{"title":"Get Spot candles","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/candles","href":"/api-reference/spot-market-data/get-spot-candles"},{"title":"Get Spot price history","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/history","href":"/api-reference/spot-market-data/get-spot-price-history"},{"title":"Get Spot symbol information","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/symbol_info","href":"/api-reference/spot-market-data/get-spot-symbol-information"}]},{"group":"Spot trading","pages":[{"title":"List Spot orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/orders","href":"/api-reference/spot-trading/list-spot-orders"},{"title":"Place Spot order","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/spot/orders","href":"/api-reference/spot-trading/place-spot-order"},{"title":"Cancel all Spot orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/spot/orders","href":"/api-reference/spot-trading/cancel-all-spot-orders"},{"title":"Place Spot order (delayed)","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/spot/orders/delayed","href":"/api-reference/spot-trading/place-spot-order-delayed"},{"title":"Get Spot order","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/orders/{orderID}","href":"/api-reference/spot-trading/get-spot-order"},{"title":"Cancel Spot order","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/spot/orders/{orderID}","href":"/api-reference/spot-trading/cancel-spot-order"},{"title":"Place Spot batch","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/spot/orders/batch","href":"/api-reference/spot-trading/place-spot-batch"},{"title":"Cancel Spot batch","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json delete /v1/spot/orders/batch","href":"/api-reference/spot-trading/cancel-spot-batch"},{"title":"Place Spot batch (delayed)","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json post /v1/spot/orders/batch/delayed","href":"/api-reference/spot-trading/place-spot-batch-delayed"},{"title":"List Spot fills","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/fills","href":"/api-reference/spot-trading/list-spot-fills"},{"title":"Get Spot order fills","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/orders/{orderID}/fills","href":"/api-reference/spot-trading/get-spot-order-fills"},{"title":"Export Spot orders","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/orders/csv","href":"/api-reference/spot-trading/export-spot-orders"},{"title":"Export Spot fills","deprecated":null,"version":null,"openapi":"/api-reference/rest-spec.json get /v1/spot/fills/csv","href":"/api-reference/spot-trading/export-spot-fills"}]}]},{"group":"WebSocket API","pages":[{"group":"Public Channels","pages":[{"title":"Subscribe: Perps Top of Book","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/topOfBooksPerps","href":"/api-reference/public-channels/subscribe:-perps-top-of-book"},{"title":"Subscribe: Perps Depth Book","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/depthBooksPerps","href":"/api-reference/public-channels/subscribe:-perps-depth-book"},{"title":"Subscribe: Perps Trades","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/tradesPerps","href":"/api-reference/public-channels/subscribe:-perps-trades"},{"title":"Subscribe: Perps Funding Rates","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/fundingRatesPerps","href":"/api-reference/public-channels/subscribe:-perps-funding-rates"},{"title":"Subscribe: Perps Mark Prices","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/markPricesPerps","href":"/api-reference/public-channels/subscribe:-perps-mark-prices"},{"title":"Subscribe: Perps Kline / Candlesticks","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/kLinePerps","href":"/api-reference/public-channels/subscribe:-perps-kline-candlesticks"}]},{"group":"Private Channels","pages":[{"title":"Subscribe: Perps Liquidation Announcements","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/liquidationAnnouncementsPerps","href":"/api-reference/private-channels/subscribe:-perps-liquidation-announcements"},{"title":"Subscribe: Perps Orders","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/ordersPerps","href":"/api-reference/private-channels/subscribe:-perps-orders"},{"title":"Subscribe: Perps Fills","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/fillsPerps","href":"/api-reference/private-channels/subscribe:-perps-fills"},{"title":"Subscribe: Builder Code Fills","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/builderFills","href":"/api-reference/private-channels/subscribe:-builder-code-fills"},{"title":"Subscribe: Perps Positions","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/positionsPerps","href":"/api-reference/private-channels/subscribe:-perps-positions"},{"title":"Subscribe: Perps Balance","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/balancePerps","href":"/api-reference/private-channels/subscribe:-perps-balance"},{"title":"Subscribe: Perps Liquidation","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/liquidationPerps","href":"/api-reference/private-channels/subscribe:-perps-liquidation"},{"title":"Subscribe: Perps Margin Transfers","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/marginTransfersPerps","href":"/api-reference/private-channels/subscribe:-perps-margin-transfers"},{"title":"Subscribe: Perps Order Summaries","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/ordersSummariesPerps","href":"/api-reference/private-channels/subscribe:-perps-order-summaries"},{"title":"Subscribe: Perps Funding Payments","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/fundingPaymentsPerps","href":"/api-reference/private-channels/subscribe:-perps-funding-payments"},{"title":"Subscribe: Perps Dead Man's Switch","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/cancelAllOrdersAfterPerps","href":"/api-reference/private-channels/subscribe:-perps-dead-mans-switch"},{"title":"Subscribe: Deposits","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/deposits","href":"/api-reference/private-channels/subscribe:-deposits"},{"title":"Subscribe: Withdrawals","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/withdrawals","href":"/api-reference/private-channels/subscribe:-withdrawals"}]},{"group":"Connection","pages":[{"title":"Connect","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json get /ws","href":"/api-reference/connection/connect"},{"title":"Ping","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws","href":"/api-reference/connection/ping"},{"title":"Login","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/login","href":"/api-reference/connection/login"}]},{"group":"Spot public channels","pages":[{"title":"Subscribe: Spot Top of Book","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/topOfBooksSpot","href":"/api-reference/spot-public-channels/subscribe:-spot-top-of-book"},{"title":"Subscribe: Spot Depth Book","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/depthBooksSpot","href":"/api-reference/spot-public-channels/subscribe:-spot-depth-book"},{"title":"Subscribe: Spot Trades","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/tradesSpot","href":"/api-reference/spot-public-channels/subscribe:-spot-trades"},{"title":"Subscribe: Spot Kline / Candlesticks","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/kLineSpot","href":"/api-reference/spot-public-channels/subscribe:-spot-kline-candlesticks"}]},{"group":"Spot private channels","pages":[{"title":"Subscribe: Spot Orders","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/ordersSpot","href":"/api-reference/spot-private-channels/subscribe:-spot-orders"},{"title":"Subscribe: Spot Fills","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/fillsSpot","href":"/api-reference/spot-private-channels/subscribe:-spot-fills"},{"title":"Subscribe: Spot Dead Man's Switch","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/cancelAllOrdersAfterSpot","href":"/api-reference/spot-private-channels/subscribe:-spot-dead-mans-switch"},{"title":"Subscribe: Spot Balances","deprecated":null,"version":null,"openapi":"/api-reference/ws-spec.json post /ws/balanceSpot","href":"/api-reference/spot-private-channels/subscribe:-spot-balances"}]}]}]}]},"basePath":"","title":"Get SIWE Login Challenge - Ondo Perps","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}