{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"OpenXSwitch | Docs","description":"OpenXSwitch is building an infrastructure that abstracts wallets, gas, liquidity, and blockchain complexity into programmable financial primitives that developers and businesses can integrate globally.\nOpenXSwitch is the most affordable, and robust platform to work with digital assets \u0026 stablecoins across Africa.","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/openxswitch/ML35RDblT1Ol-zJb/images/LightBlog(1).png?fit=max\u0026auto=format\u0026n=ML35RDblT1Ol-zJb\u0026q=85\u0026s=062e79ad9c4540929eec204aff020178","dark":"https://mintcdn.com/openxswitch/ML35RDblT1Ol-zJb/images/DarkBlog(1).png?fit=max\u0026auto=format\u0026n=ML35RDblT1Ol-zJb\u0026q=85\u0026s=f6328956931c9664a2a070c2edb6e9b3","href":"/"},"favicon":{"light":"https://mintcdn.com/openxswitch/ML35RDblT1Ol-zJb/images/LinkedinX.png?fit=max\u0026auto=format\u0026n=ML35RDblT1Ol-zJb\u0026q=85\u0026s=a03db0ff0a3f9f5f6696217533a86549","dark":"https://mintcdn.com/openxswitch/ML35RDblT1Ol-zJb/images/LinkedinX.png?fit=max\u0026auto=format\u0026n=ML35RDblT1Ol-zJb\u0026q=85\u0026s=a03db0ff0a3f9f5f6696217533a86549"},"appearance":{"default":"system"},"navbar":{"links":[{"href":"mailto:support@openxswitch.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://console.openxswitch.com"}},"footer":{"socials":{"x":"https://x.com/OpenXSwitch","linkedin":"https://linkedin.com/company/OpenXSwitch"}},"seo":{"metatags":{"title":"OpenXSwitch Docs","keyword":"OpenXSwitch, Wallet as a service, Smart Account, Crypto as a service, Wallet infrastructure, Sablecoin Orchestration, Stablecoin Infrastructure"},"indexing":"all"},"styling":{"eyebrows":"section","latex":false},"contextual":{"options":["chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"interaction":{"drilldown":false},"markdown":{"schema":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"openxswitch","hasAudioNarration":false,"actualSubdomain":"openxswitch","customDomains":["docs.openxswitch.com"],"gitSource":{"type":"github","owner":"openxswitch","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a6a39bea324037a170b10a9","collectionId":"1c69da45-5ed2-4f0b-acad-f152cd5cd92c","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a6a39bea324037a170b10a9"},"entitlements":{},"buildId":"6ae0684f9df8262685aef794","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"Wallet as a Service - API Reference - v1","count":70},{"language":"default","tag":"API Reference","count":41},{"language":"default","tag":"Wallet as a Service","count":34},{"language":"default","tag":"Introduction","count":24},{"language":"default","tag":"Sandbox","count":20},{"language":"default","tag":"Transactions","count":20},{"language":"default","tag":"Sub Wallet Endpoints","count":17},{"language":"default","tag":"Swaps","count":14},{"language":"default","tag":"Users","count":14},{"language":"default","tag":"Wallet Management","count":13}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":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":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":true}},"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/swaps/generate-swap-quote","slug":"/api-reference/swaps/generate-swap-quote","pageMetadata":{"title":"Generate Swap Quote","description":"Generates a firm, executable swap quote. Returns a valid Quote ID that can be submitted to the execute endpoint to complete the trade on-chain.","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/swaps.json post /v2/swap/quote","href":"/api-reference/swaps/generate-swap-quote","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: \"Generates a firm, executable swap quote. Returns a valid Quote ID that can be submitted to the execute endpoint to complete the trade on-chain.\"\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":"Generate Swap Quote","description":"Generates a firm, executable swap quote. Returns a valid Quote ID that can be submitted to the execute endpoint to complete the trade on-chain.","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/swaps.json post /v2/swap/quote","href":"/api-reference/swaps/generate-swap-quote","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Generates a firm, executable swap quote. Returns a valid Quote ID that can be submitted to the execute endpoint to complete the trade on-chain.","operationId":"SmartAccountSwapController_generateSwapQuotes","parameters":[],"requestBody":"c010ab9c-220f-411e-993a-c4ea84cdcf3e","responses":{"200":"d733c02c-ed2b-4171-961b-d4c0511b8988","400":"bfc42790-adb2-4356-9111-f44a1438b7d6","404":"ac9ee907-8096-42a1-a0c6-110d510712c5","422":"0c408a42-3b3c-46a9-9a95-675351fa1c66","500":"884e3129-fd6d-463c-aab3-fc4b58248f91"},"summary":"Generate Swap Quote","tags":["Swaps"],"method":"post","type":"path","servers":["311bbd3f-8d4b-4d2a-ab21-4c434045871f"],"security":["a54ce88c-a5af-49be-a247-49f0af91054c"],"path":"/v2/swap/quote","baseUrlOptions":["https://api.openxswitch.com"],"title":"Generate Swap Quote","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"walletId":{"type":"string","description":"The unique identifier of the wallet","example":"8d5be8f5-a8e7-4e8a-b715-0e7d6f2a6d04","isRequired":true,"uniqueKey":"walletId","typeLabel":"string"},"from":{"type":"object","description":"Origin payload","required":["token","chain","amount"],"properties":{"token":{"type":"string","description":"Origin token \u003cp>Refer to the [Get Supported Swap Tokens](https://docs.openxswitch.com/api-reference/swaps/get-supported-tokens) endpoint for the list of supported tokens.\u003c/p>","example":"USDC","isRequired":true,"uniqueKey":"from.token","typeLabel":"string"},"chain":{"type":"string","description":"Origin chain \u003cp>Refer to the [Get Supported Swap Chains](https://docs.openxswitch.com/api-reference/swaps/get-supported-chains) endpoint for the list of supported chains.\u003c/p>","example":"ethereum","isRequired":true,"uniqueKey":"from.chain","typeLabel":"string"},"amount":{"type":"string","description":"Amount of token to swap","example":"1","isRequired":true,"uniqueKey":"from.amount","typeLabel":"string"}},"uniqueKey":"from","typeLabel":"object"},"to":{"type":"object","description":"Destination payload","required":["token","chain"],"properties":{"token":{"type":"string","description":"Destination token \u003cp>Refer to the [Get Supported Swap Tokens](https://docs.openxswitch.com/api-reference/swaps/get-supported-tokens) endpoint for the list of supported tokens.\u003c/p>","example":"USDC","isRequired":true,"uniqueKey":"to.token","typeLabel":"string"},"chain":{"type":"string","description":"Destination chain \u003cp>Refer to the [Get Supported Swap Chains](https://docs.openxswitch.com/api-reference/swaps/get-supported-chains) endpoint for the list of supported chains.\u003c/p>","example":"ethereum","isRequired":true,"uniqueKey":"to.chain","typeLabel":"string"},"address":{"type":"string","description":"Destination address; Default to wallet owner address. \u003cp> Required for Swap involving EVM chain and other chains(Solana, Tron, ...) ","example":"0x123","uniqueKey":"to.address","typeLabel":"string"}},"uniqueKey":"to","typeLabel":"object"},"userId":{"type":"string","description":"User id","example":"8d5be8f5-a8e7-4e8a-b715-0e7d6f2a6d04","uniqueKey":"userId","typeLabel":"string"},"slippage":{"type":"number","description":"Slippage tolerance. percentage value, e.g. 0.5 means 0.5%. \u003cp> Default to auto \u003c/p>","example":"0.5","uniqueKey":"slippage","typeLabel":"number"}},"required":["walletId"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"walletId":"8d5be8f5-a8e7-4e8a-b715-0e7d6f2a6d04","userId":"8d5be8f5-a8e7-4e8a-b715-0e7d6f2a6d04","slippage":"0.5"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"d733c02c-ed2b-4171-961b-d4c0511b8988":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true,"isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"data":{"type":"object","required":["id","slippage","quoteExpiryTimestamp","expireIn","from","to","totalFee","bridgeFee"],"properties":{"id":{"type":"string","description":"The quote id","example":"032dd5b7-881d4543c852","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"slippage":{"type":"number","description":"The slippage","example":0.5,"isRequired":true,"uniqueKey":"data.slippage","typeLabel":"number"},"quoteExpiryTimestamp":{"type":"number","description":"The quote expiry timestamp","example":1753183232872,"isRequired":true,"uniqueKey":"data.quoteExpiryTimestamp","typeLabel":"number"},"expireIn":{"type":"string","description":"The expire in","example":"5m","isRequired":true,"uniqueKey":"data.expireIn","typeLabel":"string"},"from":{"type":"object","description":"The from token","required":["chain","token","amount","minAmount"],"example":{"chain":"ethereum","token":"ETH","amount":"1.10","minAmount":"1.10"},"properties":{"chain":{"type":"string","description":"The chain","example":"ethereum","isRequired":true,"uniqueKey":"data.from.chain","typeLabel":"string"},"token":{"type":"string","description":"The token","example":"USDT","isRequired":true,"uniqueKey":"data.from.token","typeLabel":"string"},"amount":{"type":"object","description":"The amount","example":"479000.10","isRequired":true,"uniqueKey":"data.from.amount","typeLabel":"object"},"minAmount":{"type":"object","description":"The minimum amount","example":"479000.10","isRequired":true,"uniqueKey":"data.from.minAmount","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data.from","typeLabel":"object"},"to":{"type":"object","description":"The to token","required":["chain","token","amount","minAmount"],"example":{"chain":"ethereum","token":"USDT","amount":"1250.10","minAmount":"1245.10"},"properties":{"chain":{"type":"string","description":"The chain","example":"ethereum","isRequired":true,"uniqueKey":"data.to.chain","typeLabel":"string"},"token":{"type":"string","description":"The token","example":"USDT","isRequired":true,"uniqueKey":"data.to.token","typeLabel":"string"},"amount":{"type":"object","description":"The amount","example":"479000.10","isRequired":true,"uniqueKey":"data.to.amount","typeLabel":"object"},"minAmount":{"type":"object","description":"The minimum amount","example":"479000.10","isRequired":true,"uniqueKey":"data.to.minAmount","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data.to","typeLabel":"object"},"totalFee":{"type":"object","description":"The fee","required":["amountInUsd","chain"],"example":{"amountInUsd":".80"},"properties":{"amountInUsd":{"type":"object","description":"The amount in USD","example":"479000.10","isRequired":true,"uniqueKey":"data.totalFee.amountInUsd","typeLabel":"object"},"chain":{"type":"string","description":"The chain","example":"ethereum","isRequired":true,"uniqueKey":"data.totalFee.chain","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.totalFee","typeLabel":"object"},"bridgeFee":{"type":"object","description":"The bridge fee","required":["amountInUsd","chain"],"example":{"amountInUsd":".80"},"properties":{"amountInUsd":{"type":"object","description":"The amount in USD","example":"479000.10","isRequired":true,"uniqueKey":"data.bridgeFee.amountInUsd","typeLabel":"object"},"chain":{"type":"string","description":"The chain","example":"ethereum","isRequired":true,"uniqueKey":"data.bridgeFee.chain","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.bridgeFee","typeLabel":"object"},"errorMessage":{"type":"object","description":"The error message. When present, the swap quote cannot be executed and only provides informational data.","default":null,"example":"Insufficient funds","uniqueKey":"data.errorMessage","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"id":"032dd5b7-881d4543c852","slippage":0.5,"quoteExpiryTimestamp":1753183232872,"expireIn":"5m","from":{"chain":"ethereum","token":"ETH","amount":"1.10","minAmount":"1.10"},"to":{"chain":"ethereum","token":"USDT","amount":"1250.10","minAmount":"1245.10"},"totalFee":{"amountInUsd":".80"},"bridgeFee":{"amountInUsd":".80"},"errorMessage":"Insufficient funds"}}}},"exampleType":"generated"}},"exampleType":"generated"},"bfc42790-adb2-4356-9111-f44a1438b7d6":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","example":400,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"path":{"type":"string","example":"/v1/...","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"timestamp":{"type":"string","example":"2025-03-13T12:34:56.789Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"message":{"type":"string","example":"......","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["statusCode","path","timestamp","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":400,"path":"/v1/...","timestamp":"2025-03-13T12:34:56.789Z","message":"......"}}},"exampleType":"generated"}},"exampleType":"generated"},"ac9ee907-8096-42a1-a0c6-110d510712c5":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","example":404,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"path":{"type":"string","example":"/v1/...","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"timestamp":{"type":"string","example":"2025-03-13T12:34:56.789Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"message":{"type":"string","example":"Cannot GET /v1/...","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["statusCode","path","timestamp","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"path":"/v1/...","timestamp":"2025-03-13T12:34:56.789Z","message":"Cannot GET /v1/..."}}},"exampleType":"generated"}},"exampleType":"generated"},"0c408a42-3b3c-46a9-9a95-675351fa1c66":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","example":422,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"path":{"type":"string","example":"/v1/...","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"timestamp":{"type":"string","example":"2025-03-13T12:34:56.789Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"message":{"example":["param is required"],"type":"array","items":{"type":"string","uniqueKey":"message.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"message","typeLabel":"string[]"}},"required":["statusCode","path","timestamp","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":422,"path":"/v1/...","timestamp":"2025-03-13T12:34:56.789Z","message":["param is required"]}}},"exampleType":"generated"}},"exampleType":"generated"},"884e3129-fd6d-463c-aab3-fc4b58248f91":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","example":500,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"path":{"type":"string","example":"/v1/...","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"timestamp":{"type":"string","example":"2025-03-13T12:34:56.789Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"message":{"type":"string","example":"......","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["statusCode","path","timestamp","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":500,"path":"/v1/...","timestamp":"2025-03-13T12:34:56.789Z","message":"......"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a54ce88c-a5af-49be-a247-49f0af91054c":{"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http","scopes":[],"schemeName":"bearer"}}},"servers":{"311bbd3f-8d4b-4d2a-ab21-4c434045871f":{"url":"https://api.openxswitch.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"scheme":"bearer","bearerFormat":"JWT","type":"http","scopes":[],"schemeName":"bearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer","name":"Authorization"}],"title":"bearer"}]},"originalFileLocation":"https://docs.openxswitch.com/openapi/wallet-infra/swaps.json"},"subdomain":"openxswitch","siteName":"OpenXSwitch | Docs","title":"Generate Swap Quote - OpenXSwitch | Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-24T20:59:54.617Z","originalFileLocation":"api-reference/swaps/generate-swap-quote.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=\"Generates a firm, executable swap quote. Returns a valid Quote ID that can be submitted to the execute endpoint to complete the trade on-chain.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OpenXSwitch | Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/openxswitch/2ZoZSJURTKn_wXeo/_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/openxswitch/2ZoZSJURTKn_wXeo/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/openxswitch/2ZoZSJURTKn_wXeo/_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/openxswitch/2ZoZSJURTKn_wXeo/_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/openxswitch/2ZoZSJURTKn_wXeo/_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/openxswitch/2ZoZSJURTKn_wXeo/_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/openxswitch/2ZoZSJURTKn_wXeo/_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/openxswitch/2ZoZSJURTKn_wXeo/_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/openxswitch/2ZoZSJURTKn_wXeo/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Generate Swap Quote - OpenXSwitch | Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generates a firm, executable swap quote. Returns a valid Quote ID that can be submitted to the execute endpoint to complete the trade on-chain.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OpenXSwitch | Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.openxswitch.com/api-reference/swaps/generate-swap-quote\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://openxswitch.mintlify.app/_mintlify/api/og/v2?division=Swaps\u0026amp;title=Generate+Swap+Quote\u0026amp;description=Generates+a+firm%2C+executable+swap+quote.+Returns+a+valid+Quote+ID+that+can+be+submitted+to+the+execute+endpoint+to+complete+the+trade+on-chain.\u0026amp;theme=aa99d25cde61c886a91e18aa\u0026amp;signature=bd1bd2b116e72ebd41cb3cad2101d2a8b524b6fafed9d29a99ef5b8c84504d08\">\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=\"Generate Swap Quote - OpenXSwitch | Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generates a firm, executable swap quote. Returns a valid Quote ID that can be submitted to the execute endpoint to complete the trade on-chain.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://openxswitch.mintlify.app/_mintlify/api/og/v2?division=Swaps\u0026amp;title=Generate+Swap+Quote\u0026amp;description=Generates+a+firm%2C+executable+swap+quote.+Returns+a+valid+Quote+ID+that+can+be+submitted+to+the+execute+endpoint+to+complete+the+trade+on-chain.\u0026amp;theme=aa99d25cde61c886a91e18aa\u0026amp;signature=bd1bd2b116e72ebd41cb3cad2101d2a8b524b6fafed9d29a99ef5b8c84504d08\">\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/openxswitch/2ZoZSJURTKn_wXeo/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OpenXSwitch | Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003cmeta data-mint-head name=\"keyword\" content=\"OpenXSwitch, Wallet as a service, Smart Account, Crypto as a service, Wallet infrastructure, Sablecoin Orchestration, Stablecoin Infrastructure\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.openxswitch.com/api-reference/swaps/generate-swap-quote\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/swaps/generate-swap-quote.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.openxswitch.com/#organization\",\"name\":\"OpenXSwitch | Docs\",\"url\":\"https://docs.openxswitch.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/openxswitch/ML35RDblT1Ol-zJb/images/LightBlog(1).png?fit=max\u0026auto=format\u0026n=ML35RDblT1Ol-zJb\u0026q=85\u0026s=062e79ad9c4540929eec204aff020178\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.openxswitch.com#website\",\"name\":\"OpenXSwitch | Docs\",\"url\":\"https://docs.openxswitch.com\",\"publisher\":{\"@id\":\"https://docs.openxswitch.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.openxswitch.com/api-reference/swaps/generate-swap-quote#webpage\",\"url\":\"https://docs.openxswitch.com/api-reference/swaps/generate-swap-quote\",\"name\":\"Generate Swap Quote\",\"description\":\"Generates a firm, executable swap quote. Returns a valid Quote ID that can be submitted to the execute endpoint to complete the trade on-chain.\",\"dateModified\":\"2026-10-24T20:59:54.617Z\",\"isPartOf\":{\"@id\":\"https://docs.openxswitch.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.openxswitch.com/api-reference/swaps/generate-swap-quote#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.openxswitch.com/api-reference/swaps/generate-swap-quote#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Swaps\",\"item\":\"https://docs.openxswitch.com/api-reference/swaps/get-swap-quote\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Swaps\",\"item\":\"https://docs.openxswitch.com/api-reference/swaps/get-swap-quote\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Generate Swap Quote\",\"item\":\"https://docs.openxswitch.com/api-reference/swaps/generate-swap-quote\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.openxswitch.com/api-reference/swaps/generate-swap-quote#apireference\",\"headline\":\"Generate Swap Quote\",\"name\":\"Generate Swap Quote\",\"description\":\"Generates a firm, executable swap quote. Returns a valid Quote ID that can be submitted to the execute endpoint to complete the trade on-chain.\",\"url\":\"https://docs.openxswitch.com/api-reference/swaps/generate-swap-quote\",\"mainEntityOfPage\":{\"@id\":\"https://docs.openxswitch.com/api-reference/swaps/generate-swap-quote#webpage\"},\"dateModified\":\"2026-10-24T20:59:54.617Z\",\"publisher\":{\"@id\":\"https://docs.openxswitch.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.openxswitch.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OpenXSwitch | Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"OpenXSwitch | Docs","nav":{"global":null,"tabs":[{"tab":"Introduction","pages":[{"title":"Introduction","href":"/introduction"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides"}]},{"tab":"API Reference","pages":[{"title":"API Overview","sidebarTitle":"Overview","href":"/api-reference/overview"},{"group":"Wallet Management","pages":[{"group":"Accounts","pages":[{"title":"Get Account","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/index.json get /v2/accounts","href":"/api-reference/accounts/get-account"},{"title":"Create Account","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/index.json post /v2/accounts","href":"/api-reference/accounts/create-account"},{"title":"Update Account","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/index.json patch /v2/accounts","href":"/api-reference/accounts/update-account"},{"title":"List Accounts","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/index.json get /v2/accounts/list","href":"/api-reference/accounts/list-accounts"},{"title":"Get Account Stats","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/index.json get /v2/accounts/stats","href":"/api-reference/accounts/get-account-stats"}]},{"group":"Wallets","pages":[{"title":"Get Wallet","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/index.json get /v2/wallets","href":"/api-reference/wallets/get-wallet"},{"title":"Create Wallet","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/index.json post /v2/wallets","href":"/api-reference/wallets/create-wallet"},{"title":"Update Wallet","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/index.json patch /v2/wallets","href":"/api-reference/wallets/update-wallet"},{"title":"List Wallets","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/index.json get /v2/wallets/list","href":"/api-reference/wallets/list-wallets"},{"title":"Get Wallet Balances","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/index.json get /v2/wallets/balances","href":"/api-reference/wallets/get-wallet-balances"}]},{"group":"Chains \u0026 Tokens","pages":[{"title":"Get Supported Chains","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/index.json get /v2/chains","href":"/api-reference/chains-\u0026-tokens/get-supported-chains"},{"title":"Get Supported Tokens","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/index.json get /v2/chains/tokens","href":"/api-reference/chains-\u0026-tokens/get-supported-tokens"},{"title":"Get Supported Tokens With Chains","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/index.json get /v2/chains/tokens-with-chains","href":"/api-reference/chains-\u0026-tokens/get-supported-tokens-with-chains"}]}]},{"group":"Users","pages":[{"group":"Users","pages":[{"title":"Get User","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/users.json get /v2/users","href":"/api-reference/users/get-user"},{"title":"Create User","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/users.json post /v2/users","href":"/api-reference/users/create-user"},{"title":"Get List of users","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/users.json get /v2/users/list","href":"/api-reference/users/get-list-of-users"},{"title":"Get User Wallets","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/users.json get /v2/users/wallets","href":"/api-reference/users/get-user-wallets"},{"title":"Get User Wallet Balances","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/users.json get /v2/users/balances","href":"/api-reference/users/get-user-wallet-balances"},{"title":"Get User Stats","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/users.json get /v2/users/stats","href":"/api-reference/users/get-user-stats"},{"title":"List User Transactions","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/users.json get /v2/users/transactions","href":"/api-reference/users/list-user-transactions"}]}]},{"group":"Transactions","pages":[{"group":"Transactions","pages":[{"title":"Create Transfer Transaction","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/new-transactions.json post /v2/transactions/withdraw","href":"/api-reference/transactions/create-transfer-transaction"},{"title":"Transfer Funds to Settlement Wallet","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/new-transactions.json post /v2/transactions/transfer/settlement","href":"/api-reference/transactions/transfer-funds-to-settlement-wallet"},{"title":"Create Batch Transfer Transaction","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/new-transactions.json post /v2/transactions/withdraw/batch","href":"/api-reference/transactions/create-batch-transfer-transaction"},{"title":"Retry a Transaction","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/new-transactions.json post /v2/transactions/withdraw/retry","href":"/api-reference/transactions/retry-a-transaction"},{"title":"Validate Address","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/new-transactions.json get /v2/transactions/validate-address","href":"/api-reference/transactions/validate-address"},{"title":"Get Transaction","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/new-transactions.json get /v2/transactions","href":"/api-reference/transactions/get-transaction"},{"title":"List Transactions","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/new-transactions.json get /v2/transactions/list","href":"/api-reference/transactions/list-transactions"},{"title":"Estimate Fee for a Transaction","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/new-transactions.json get /v2/transactions/estimate-fee","href":"/api-reference/transactions/estimate-fee-for-a-transaction"},{"title":"Sync Blockchain Transaction","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/new-transactions.json post /v2/transactions/sync","href":"/api-reference/transactions/sync-blockchain-transaction"}]}]},{"group":"Swaps","pages":[{"group":"Swaps","pages":[{"title":"Get Swap Quote","description":"Retrieves an existing swap quote using its Quote ID. Returns the previously generated quote and its current status.","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/swaps.json get /v2/swap/quote","href":"/api-reference/swaps/get-swap-quote"},{"title":"Generate Swap Quote","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/swaps.json post /v2/swap/quote","href":"/api-reference/swaps/generate-swap-quote"},{"title":"Execute Quote","description":"Executes an active, valid quote on-chain using its Quote ID. Builds and broadcasts the transaction to settle the trade, provided the quote has not expired.","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/swaps.json post /v2/swap/execute","href":"/api-reference/swaps/execute-quote"},{"title":"Submit Missed Deposit","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/swaps.json post /v2/swap/sync-deposit","href":"/api-reference/swaps/submit-missed-deposit"},{"title":"Get Supported Chains","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/swaps.json get /v2/swap/chains","href":"/api-reference/swaps/get-supported-chains"},{"title":"Get Supported Tokens","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/swaps.json get /v2/swap/tokens","href":"/api-reference/swaps/get-supported-tokens"}]},{"group":"Transactions","pages":[{"title":"Get Swap Transaction","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/swaps.json get /v2/swap/transactions","href":"/api-reference/transactions/get-swap-transaction"},{"title":"List Swap Transactions","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/wallet-infra/swaps.json get /v2/swap/transactions/list","href":"/api-reference/transactions/list-swap-transactions"}]}]},{"group":"Compliance","pages":[{"group":"Compliance","pages":[{"title":"Get watchlist item","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/compliance-specs.json get /v1/compliance/watch-list","href":"/api-reference/compliance/get-watchlist-item"},{"title":"Add a blockchain address to the watchlist","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/compliance-specs.json post /v1/compliance/watch-list","href":"/api-reference/compliance/add-a-blockchain-address-to-the-watchlist"},{"title":"Remove an address from the watchlist","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/compliance-specs.json delete /v1/compliance/watch-list","href":"/api-reference/compliance/remove-an-address-from-the-watchlist"},{"title":"Get watchlist list","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/compliance-specs.json get /v1/compliance/watch-list/list","href":"/api-reference/compliance/get-watchlist-list"}]}]},{"group":"Webhooks","pages":[{"group":"Webhook","pages":[{"title":"Resend webhook","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/developer-api-webhook.json post /v1/webhook/resend","href":"/api-reference/webhook/resend-webhook"},{"title":"List webhooks","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/developer-api-webhook.json get /v1/webhook/list","href":"/api-reference/webhook/list-webhooks"},{"title":"Get webhook delivery logs","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/developer-api-webhook.json get /v1/webhook/logs","href":"/api-reference/webhook/get-webhook-delivery-logs"}]}]},{"group":"Misc","pages":[{"group":"Markets","pages":[{"title":"Get Fiat Prices","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/misc-specs.json get /v1/markets/prices","href":"/api-reference/markets/get-fiat-prices"}]},{"group":"Mix","pages":[{"title":"Check addresses validity","deprecated":null,"version":null,"openapi":"https://docs.openxswitch.com/openapi/misc-specs.json post /v1/mix/validate-address","href":"/api-reference/mix/check-addresses-validity"}]}]}]},{"tab":"Wallet as a Service - API Reference - v1","pages":[{"title":"Wallet as a Service - API Reference - v1","href":"/api-reference-v1/overview"}]},{"tab":"Tools","hidden":true,"pages":[{"title":"Tools","href":"/tools"}]},{"tab":"Changlogs","hidden":true,"pages":[{"title":"Changlogs","href":"/changlog/smart-accounts"}]}]},"title":"Generate Swap Quote - OpenXSwitch | Docs","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-rfhihCWU.js","utils-BmH1XFxk.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BcNsxPKB.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BAES3tkd.js","snippetPresets-DCMQBKLP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D6l_bzE9.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BOktbnNh.js","shallow-BCs8SgM7.js","getApiPlaygroundDisplay-DEmW5bJB.js","CodeSnippet-CpZOpB9C.js","CodeSnippets-BOBDqibl.js","Page-D5fEM6aW.js","getPastedJson-DH2JBvmr.js","icon-BBJH-kKh.js","MethodPill-D2Sd5NLC.js","DuplicateIcon-CGgfL2qN.js","createIcon-BKudBBzi.js","DynamicMarkdown-85clUA0i.js","SectionHeading-D0JiMgDx.js","axios-vUo_bRtp.js","Markdown-Cfiy0xZO.js","clsx-rL8ZCCw4.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-aeztFa9U.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BywkCr5C.js"]}