Indicative price for a route, no state created. Public. HyperCore source routes are unavailable until independent deposit verification is supported; HyperCore destinations remain supported.
An AssetInput, or a token address. A quote whose source is an unlisted token requires refundAddress: a deposit that cannot be sold is refunded in kind there.
Delivery mode; fixed requires exact_in and an eligible route with active partner terms. A route accepts fixed only where /v2/orchestration/routes reports fixedEligible (fixedTo); other routes return 400 fixed_delivery_unsupported_route. Fixed estimates are indicative; quotes validate exact-output affordability before returning deposit instructions. Fixed stablecoin routes to Solana USDC include recipient token-account creation costs upfront and preserve the quoted payout.
Opt in to affiliate_not_found / affiliate_disabled for registered affiliate lookup failures. Omitted or legacy preserves invalid_request. HTTP 400 in either mode.
Unlisted destinations only: the least amount of the token, in its smallest units, the recipient receives when the swap succeeds. Enforced on chain at the recipient.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Flashnet","description":"Flashnet documentation. Integrate Orchestra for cross-network swaps, Lightning payments, and standing deposit addresses.","colors":{"primary":"#161514","light":"#D7D6D4","dark":"#161514"},"logo":{"light":"https://mintcdn.com/flashnet-9a0adcc4/m8v0Hva1Z08pPER3/logo/docs-light.svg?fit=max\u0026auto=format\u0026n=m8v0Hva1Z08pPER3\u0026q=85\u0026s=d4fecbaa9d67a76ffb1251ccec3ecbfd","dark":"https://mintcdn.com/flashnet-9a0adcc4/m8v0Hva1Z08pPER3/logo/docs-dark.svg?fit=max\u0026auto=format\u0026n=m8v0Hva1Z08pPER3\u0026q=85\u0026s=2636ee150e02d79266ba705aa2ebdb81"},"favicon":"https://mintcdn.com/flashnet-9a0adcc4/SITNW9lBX0J8pU9z/favicon.svg?fit=max\u0026auto=format\u0026n=SITNW9lBX0J8pU9z\u0026q=85\u0026s=854a8430922bc5412ff892542620b563","api":{"openapi":"https://orchestration.flashnet.xyz/openapi.json","params":{"expanded":"closed"},"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","javascript","python"]}},"appearance":{"default":"dark","strict":false},"background":{"color":{"dark":"#090909"}},"navbar":{"links":[],"primary":{"type":"button","label":"Dashboard","href":"https://orchestra.flashnet.xyz/dashboard"}},"footer":{"socials":{"x":"https://x.com/flashnet","github":"https://github.com/flashnetxyz"},"links":[{"header":"Flashnet","items":[{"label":"Dashboard","href":"https://orchestra.flashnet.xyz/dashboard"},{"label":"Build","href":"https://build.flashnet.xyz"},{"label":"Order status","href":"/orchestra/status"}]},{"header":"Legal","items":[{"label":"Privacy Policy","href":"https://flashnet.xyz/privacy"},{"label":"Terms of Service","href":"https://flashnet.xyz/terms-of-service"}]}]},"styling":{"eyebrows":"breadcrumbs","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","cursor","mcp"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"flashnet-9a0adcc4","hasAudioNarration":false,"actualSubdomain":"flashnet-9a0adcc4","customDomains":["docs.flashnet.xyz"],"gitSource":{"type":"github","owner":"flashnetxyz","repo":"flashnet-docs","deployBranch":"main","contentDirectory":"main","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6acec706b0647c10215822ed","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"API Reference","count":50},{"language":"default","tag":"Endpoints","count":46},{"language":"default","tag":"Orchestra","count":18},{"language":"default","tag":"USDB","count":15},{"language":"default","tag":"Orchestration","count":13},{"language":"default","tag":"Legacy","count":12},{"language":"default","tag":"Status delivery","count":8},{"language":"default","tag":"Standing deposit addresses","count":7},{"language":"default","tag":"Affiliates","count":6},{"language":"default","tag":"Core","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":":root{--rounded-sm: 4px;--rounded-md: 4px;--rounded-lg: 6px;--rounded-xl: 6px;--rounded-2xl: 6px;--rounded-3xl: 6px}*,*::before,*::after{border-radius:4px!important}#navbar a:has(>img.nav-logo[src*=\"/logo/docs-\"]){position:relative}#navbar a:has(>img.nav-logo[src*=\"/logo/docs-\"])::after{content:\"\";position:absolute;left:46.153846%;top:21.875%;height:56.25%;width:1px;background:#c8c8c8;pointer-events:none}.dark #navbar a:has(>img.nav-logo[src*=\"/logo/docs-\"])::after{background:#484848}#navbar,#navbar>div,#navbar nav[aria-label=\"Main\"] a,.prose table,.prose th,.prose td{border-radius:0!important}#page-context-menu>button:first-child{border-radius:4px 0 0 4px!important}#page-context-menu>button:last-child{border-radius:0 4px 4px 0!important}:is(#sidebar-content,#mobile-nav) a[aria-current=\"page\"]{background:rgb(0 0 0 / 0.06)}.dark :is(#sidebar-content,#mobile-nav) a[aria-current=\"page\"]{background:#181818}:is(#sidebar-content,#mobile-nav) img[src*=\"/assets/sidebar-icons/\"]{border-radius:0!important;opacity:0.65}.dark :is(#sidebar-content,#mobile-nav) img[src*=\"/assets/sidebar-icons/\"]{filter:invert(1)}:is(#sidebar-content,#mobile-nav) a:is([aria-current=\"page\"],:hover) img[src*=\"/assets/sidebar-icons/\"]{opacity:0.9}.dark [aria-label=\"Get started\"]>a{background:#141414;border-color:#252525}.dark [aria-label=\"Get started\"]>a:hover{background:#1c1c1c;border-color:#3a3a3a}.dark #topbar-cta-button a{background:#181818;border:1px solid #303030}.dark #topbar-cta-button span{color:#f5f5f5}.dark #topbar-cta-button a:hover{background:#202020;opacity:1}#navbar .navbar-link a{background:transparent;border-color:transparent}#navbar div:has(>div>a>.nav-logo){height:56px}#navbar .nav-logo{height:28px;border-radius:0!important}@media (min-width: 1024px){:root{--scroll-mt: 96px !important}#sidebar-content{top:calc(3.5rem + var(--banner-height, 0px))!important;height:calc(100vh - 3.5rem - var(--banner-height, 0px))!important}#content-side-layout{top:calc(3.5rem + var(--banner-height, 0px));height:calc(100vh - 3.5rem - var(--banner-height, 0px))}#navbar div:has(>a>.nav-logo){flex:0 0 auto}#navbar nav[aria-label=\"Main\"]{margin-left:1rem;justify-content:flex-start}#navbar .topbar-right-container{margin-left:auto}#navbar nav[aria-label=\"Main\"] a{height:56px;padding-inline:10px;padding-top:4px;font-size:13px;letter-spacing:0;background:transparent;border-bottom:2px solid transparent}#navbar nav[aria-label=\"Main\"] a[aria-current=\"location\"]{border-bottom-color:currentColor}#navbar nav[aria-label=\"Main\"] a:hover{background:transparent}}#content-container:has(#header) #page-title{font-weight:600;letter-spacing:0}#content-container:has(#header) #content{letter-spacing:0}#content-container:has(#header) #content h2:not(.not-prose){font-weight:600;line-height:31px;margin-block:58px 14px;letter-spacing:0}#table-of-contents{font-size:13px;line-height:18px}#table-of-contents a{padding-block:5px;line-height:18px}@media (min-width: 1280px){#content-container:has(#header):not(:has([data-api-example])){display:grid;grid-template-columns:minmax(2rem, 1fr) minmax(0, 48rem) minmax(2rem, 1fr)\n 18rem;padding-left:3rem}#content-container:has(#header):not(:has([data-api-example]))>div:has(>#content-area){grid-column:2}#content-container:has(#header):not(:has([data-api-example])) #content-area{min-width:0;max-width:none;margin-inline:0;padding:3.5rem 0 0;position:relative;left:8px}#content-container:has(#header):not(:has([data-api-example]))>#content-side-layout{grid-column:4;padding:3.5rem 1.25rem 0 0}#content-container:has(#header) #page-title{font-size:34px;line-height:42px}}@media (min-width: 1024px){body:has(#navbar a[aria-current=\"location\"][href=\"/api/overview\"]){--api-sidebar-width: 22rem;\u0026 #sidebar-content{width:var(--api-sidebar-width)}\u0026 #body-content{padding-left:var(--api-sidebar-width)}\u0026 #content-area{margin-inline:auto}\u0026 #content-side-layout[data-api-example]{width:36%;flex-shrink:0}\u0026 #content-side-layout[data-api-example]>div{width:100%;max-width:100%}}}@media (min-width: 1280px){body:has(#navbar a[aria-current=\"location\"][href=\"/api/overview\"]){\u0026 #content-container:has(#header):not(:has([data-api-example])){padding-left:0;grid-template-columns:minmax(1.5rem, 1fr) minmax(0, 48rem) minmax(1.5rem, 1fr)\n 14rem}\u0026 #content-side-layout:not([data-api-example]){width:14rem}}}.prose :not(pre)>code{background:transparent!important;border:none!important;padding:0!important;font-size:0.9em!important;font-weight:500;color:rgb(60 60 58)!important}.dark .prose :not(pre)>code{color:rgb(215 214 212)!important}.prose table{width:100%;border-collapse:collapse;border:1px solid rgb(229 231 235);font-size:0.875rem;line-height:1.4}.dark .prose table{border-color:rgb(255 255 255 / 0.12)}.prose th,.prose td{border:1px solid rgb(229 231 235);padding:0.5rem 0.75rem;text-align:left;vertical-align:top}.dark .prose th,.dark .prose td{border-color:rgb(255 255 255 / 0.12)}.prose th{background:rgb(0 0 0 / 0.03);font-weight:500}.dark .prose th{background:rgb(255 255 255 / 0.04)}.prose td:first-child{white-space:nowrap;font-weight:500}.prose td code,.prose th code{white-space:nowrap}body:has(#navbar a[aria-current=\"location\"][href=\"/usdb/overview\"]) .prose :is(th,td){min-width:0;white-space:normal}"},{"filePath":"api-reference.css","content":".api-reference-page{min-height:60vh}#api-playground-2-operation-page:has(.api-reference-page)>.mdx-content>:not(.api-reference-page):not(:has(.api-reference-page)),#api-playground-2-operation-page:has(.api-reference-page)>:first-child>:not(:first-child){display:none}#api-playground-2-operation-page:has(.api-reference-page)>:first-child{margin-bottom:20px}#content-container:has(.api-reference-page){display:block!important;padding-left:0!important}#content-container:has(.api-reference-page) #content-area{width:100%;max-width:1080px!important;padding:48px 32px 0!important;margin-inline:auto;left:0!important}#content-container:has(.api-reference-page) #content-side-layout{display:none}#content-container:has(.api-reference-page) #header{max-width:720px;margin-bottom:24px}.api-reference{--api-border: #e5e5e5;--api-muted: #636363;--api-surface: #fafafa;--api-header: #f4f4f4;font-size:14px;line-height:1.6;letter-spacing:0}.dark .api-reference{--api-border: #262626;--api-muted: #a3a3a3;--api-surface: #0c0c0c;--api-header: #141414}.api-reference-layout{display:grid;grid-template-columns:minmax(0, 1fr)}.api-reference-main{min-width:0}.api-reference code{font-size:12px;overflow-wrap:anywhere;white-space:normal}.api-reference section{margin-top:44px;scroll-margin-top:88px}.api-reference h2{font-size:20px;line-height:28px;margin:0 0 18px!important;font-weight:500}.api-reference h3{font-size:16px;font-weight:500;margin:24px 0 12px}.api-reference-description{white-space:pre-wrap;overflow-wrap:anywhere}.api-reference-auth,.api-reference-source{color:var(--api-muted);font-size:12px;margin-top:16px}.api-reference-fields{border:1px solid var(--api-border);margin-top:14px;overflow:hidden}.api-reference-field-head,.api-reference-field{display:grid;grid-template-columns:minmax(100px, 1fr) minmax(100px, 0.9fr) minmax(0, 2fr);gap:16px;padding:14px}.api-reference-field-head{background:var(--api-header);color:var(--api-muted);font-size:12px;padding-block:9px}.api-reference-field-group{border-top:1px solid var(--api-border);border-radius:0!important}.api-reference-field>div{min-width:0}.api-reference-type{display:flex;align-items:flex-start;flex-direction:column;gap:3px;color:var(--api-muted)}.api-reference-required{color:#98720d;font-size:10px}.dark .api-reference-required{color:#d4b76b}.api-reference-location{display:block;font-size:10px;color:var(--api-muted);text-transform:uppercase;margin-top:4px}.api-reference-disclosure{margin-top:8px}.api-reference-disclosure summary{cursor:pointer;color:var(--api-muted);font-size:12px;padding-block:4px}.api-reference-disclosure summary span{margin-left:6px;font-size:11px}.api-reference-values{display:flex;flex-wrap:wrap;gap:5px 12px;padding-block:12px}.api-reference-constraint{color:var(--api-muted);font-size:12px;margin-top:5px}.api-reference-variant{padding:12px 0;border-top:1px solid var(--api-border)}.api-reference-child-row{padding:0 14px 12px}.api-reference-children{margin-top:0}.api-reference-children>summary{width:fit-content}.api-reference-children>.api-reference-fields{border:0;border-left:1px solid var(--api-border);border-radius:0!important;margin:12px 0 0 5px}.api-reference-children .api-reference-field-head{display:none}.api-reference-children .api-reference-field-head+.api-reference-field-group{border-top:0}.api-reference-children .api-reference-field{grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);gap:8px 16px;padding-block:12px;border-radius:0!important}.api-reference-children .api-reference-field>div:last-child{grid-column:1 / -1}.api-reference-children .api-reference-field>div:last-child:empty{display:none}.api-reference-children .api-reference-type{flex-direction:row;flex-wrap:wrap;align-items:baseline;justify-content:flex-end;gap:4px 8px}.api-reference-children .api-reference-disclosure:not(.api-reference-children){margin-top:0}.api-reference-response-bar{display:flex;gap:16px;align-items:center;margin-bottom:14px;color:var(--api-muted)}.api-reference select,.api-reference input,.api-reference textarea{background:var(--api-surface);border:1px solid var(--api-border);color:inherit;font:inherit;padding:8px 10px;max-width:100%}.api-reference textarea{width:100%;min-height:140px;font-family:monospace;font-size:12px;resize:vertical}.api-reference label{font-size:12px}.api-reference label select{margin-left:8px}.api-reference button{cursor:pointer;font:inherit;font-size:12px;border:1px solid var(--api-border);padding:7px 12px;background:var(--api-header)}.api-reference button:hover{filter:brightness(1.15)}.api-reference :is(button,summary,select,input,textarea,a):focus-visible{outline:2px solid currentColor;outline-offset:3px}.api-reference button:disabled{cursor:wait;opacity:0.55}.api-reference pre{background:transparent;border:0;padding:0;margin:0;overflow:auto;max-height:480px}.api-reference pre code{white-space:pre;overflow-wrap:normal}.api-reference-toc{display:none}.api-reference-code-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--api-border);background:var(--api-header);padding:5px 10px}.api-reference-language-tabs{display:flex;gap:8px}.api-reference .api-reference-language-tab{border:0;border-bottom:1px solid transparent;border-radius:0!important;background:transparent;padding:7px 0;color:var(--api-muted)}.api-reference .api-reference-language-tab[aria-pressed=\"true\"]{color:inherit;border-bottom-color:currentColor}.api-reference-request>.code-block{margin:0;border:0}.api-reference-request{border:1px solid var(--api-border);overflow:hidden}.api-reference-request .api-reference-code-toolbar,.api-reference-request .code-block,.api-reference-request .code-block-background{border-radius:0!important}#content-container:has(.api-reference-page) #pagination{width:100%;max-width:720px}@media (min-width: 1280px){#api-playground-2-operation-page:has(.api-reference-page)>:first-child,#content-container:has(.api-reference-page) #pagination{width:calc(100% - 160px);max-width:720px}.api-reference-layout{grid-template-columns:minmax(0, 720px) 128px;gap:32px}.api-reference-toc{display:block;position:sticky;top:96px;align-self:start}.api-reference-toc nav{display:flex;flex-direction:column;gap:10px;font-size:12px}.api-reference-toc nav>span{color:var(--api-muted);margin-bottom:6px}.api-reference-toc a{font-weight:400;text-decoration:none;border:0!important;box-shadow:none!important}}@media (max-width: 640px){.api-reference-children .api-reference-child-row{padding-inline:8px 0}.api-reference-children>.api-reference-fields{margin-left:0}#content-container:has(.api-reference-page) #content-area{padding:28px 24px 0!important}.api-reference-field-head{display:none}.api-reference-field{grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);gap:12px}.api-reference-field>div:last-child{grid-column:1 / -1}.api-reference-type{align-items:flex-end}}"}],"page":{"pagePath":"api-reference/orchestration/estimate-a-swap","slug":"/api-reference/orchestration/estimate-a-swap","pageMetadata":{"title":"Estimate a swap","sidebarTitle":"Estimate a swap","description":"Indicative price for a route, no state created. Public. HyperCore source routes are unavailable until independent deposit verification is supported; HyperCore destinations remain supported.","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/orchestration/estimate","href":"/api-reference/orchestration/estimate-a-swap"},"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: \"Indicative price for a route, no state created. Public. HyperCore source routes are unavailable until independent deposit verification is supported; HyperCore destinations remain supported.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const createApiHelpers=()=>{function record(value){return value!==null\u0026\u0026typeof value===`object`\u0026\u0026!Array.isArray(value)?value:{}}function list(value){return Array.isArray(value)?value:[]}function text(value){return typeof value===`string`?value:``}function owns(value,key){return Object.prototype.hasOwnProperty.call(value,key)}function scalar(value){return value===null||[`string`,`number`,`boolean`].includes(typeof value)}function pointer(spec,ref){if(ref===`#`)return spec;if(!ref.startsWith(`#/`))throw new Error(`Unsupported reference: `+ref);const parts=decodeURIComponent(ref.slice(2)).split(`/`);let value=spec;for(const part of parts){if(/~(?:[^01]|$)/.test(part))throw new Error(`Invalid JSON pointer: `+ref);const key=part.replace(/~1/g,`/`).replace(/~0/g,`~`);if(value===null||typeof value!==`object`||!Object.prototype.hasOwnProperty.call(value,key)){throw new Error(`Missing reference: `+ref)}value=value[key]}return value}function referenceObject(spec,input,seen=new Set){const source=record(input);if(typeof source.$ref!==`string`)return source;if(seen.has(source.$ref)||seen.size>=32)throw new Error(`Cyclic reference: `+source.$ref);const target=pointer(spec,source.$ref);if(target===null||typeof target!==`object`||Array.isArray(target)){throw new Error(`Expected object reference: `+source.$ref)}const{$ref,...siblings}=source;return{...referenceObject(spec,target,new Set([...seen,source.$ref])),...siblings}}function indexAllOf(branches,base){const objects=[...branches.map(record),base];const names=[...new Set(objects.flatMap(item=>Object.keys(record(item.properties))))];const properties=Object.fromEntries(names.map(name=>{const values=objects.filter(item=>owns(record(item.properties),name)).map(item=>record(item.properties)[name]);const unique=uniqueConstraints(values);return[name,unique.length===1?unique[0]:{allOf:unique}]}));const required=[...new Set(objects.flatMap(item=>list(item.required).filter(name=>typeof name===`string`)))];const result={...base};if(names.length)result.properties=properties;if(required.length)result.required=required;for(const key of[`description`,`title`,`example`,`examples`,`default`]){if(!owns(result,key)){const source=[...objects].reverse().find(item=>owns(item,key));if(source)result[key]=source[key]}}for(const key of[`type`,`items`,`format`,`enum`,`const`,`minimum`,`maximum`,`exclusiveMinimum`,`exclusiveMaximum`,`minLength`,`maxLength`,`minItems`,`maxItems`,`pattern`,`multipleOf`,`additionalProperties`]){const values=objects.filter(item=>owns(item,key)).map(item=>item[key]);if(!owns(result,key)\u0026\u0026values.length\u0026\u0026values.every(value=>JSON.stringify(value)===JSON.stringify(values[0])))result[key]=values[0]}return result}function uniqueConstraints(values){const flattened=values.flatMap(value=>{const item=record(value);return Object.keys(item).length===1\u0026\u0026Array.isArray(item.allOf)?uniqueConstraints(item.allOf):[value]});return[...new Map(flattened.map(value=>[JSON.stringify(value),value])).values()]}function resolveNode(spec,input,seen,depth){if(typeof input===`boolean`)return input;const source=record(input);if(depth>=32)return{...source,\"x-resolution-error\":`Schema resolution depth exceeded`};if(typeof source.$ref===`string`){try{if(seen.has(source.$ref))throw new Error(`Cyclic reference: `+source.$ref);const target=pointer(spec,source.$ref);if(typeof target!==`boolean`\u0026\u0026(target===null||typeof target!==`object`||Array.isArray(target))){throw new Error(`Expected schema reference: `+source.$ref)}const resolved=resolveNode(spec,target,new Set([...seen,source.$ref]),depth+1);const{$ref,...siblings}=source;if(!Object.keys(siblings).length)return resolved;return resolveNode(spec,{...siblings,allOf:[resolved,...list(siblings.allOf)]},seen,depth+1)}catch(error){return{...source,\"x-resolution-error\":error instanceof Error?error.message:String(error)}}}const result={...source};for(const key of[`allOf`,`anyOf`,`oneOf`]){if(Array.isArray(source[key]))result[key]=list(source[key]).map(branch=>resolveNode(spec,branch,seen,depth+1))}return Array.isArray(result.allOf)?indexAllOf(result.allOf,result):result}function resolveSchema(spec,schema){return resolveNode(spec,schema,new Set,0)}function fields(spec,input,depth){if(depth>=16)return[];const schema=record(resolveSchema(spec,input));const required=new Set(list(schema.required));const result=new Map(Object.entries(record(schema.properties)).map(([name,value])=>{const resolved=resolveSchema(spec,value);return[name,{name,required:required.has(name),schema:resolved,description:text(record(resolved).description)}]}));for(const key of[`anyOf`,`oneOf`]){const branches=list(schema[key]).map(branch=>fields(spec,branch,depth+1));const names=[...new Set(branches.flatMap(branch=>branch.map(field=>field.name)))];for(const name of names){const variants=branches.flatMap(branch=>branch.filter(field=>field.name===name));const alternative=variants.length===1?variants[0].schema:{anyOf:variants.map(field=>field.schema)};const existing=result.get(name);const merged=existing?resolveSchema(spec,{allOf:[existing.schema,alternative]}):alternative;result.set(name,{name,schema:merged,required:Boolean(existing?.required||required.has(name)||variants.length===branches.length\u0026\u0026variants.every(field=>field.required)),description:existing?.description??(variants.every(field=>field.description===variants[0].description)?variants[0].description:``)})}}for(const branch of list(schema.allOf)){for(const field of fields(spec,branch,depth+1)){const existing=result.get(field.name);if(!existing)result.set(field.name,field);else if(field.required\u0026\u0026!existing.required)result.set(field.name,{...existing,required:true})}}return[...result.values()]}function schemaFields(spec,schema){return fields(spec,schema,0)}function typeLabel(spec,input,depth){if(depth>=16)return`recursive schema`;const resolved=resolveSchema(spec,input);if(resolved===false)return`never`;if(resolved===true)return`unknown`;if(resolved.$ref)return`unresolved reference: `+text(resolved.$ref);if(resolved[`x-resolution-error`])return text(resolved[`x-resolution-error`]);const parts=[];for(const key of[`anyOf`,`oneOf`,`allOf`]){if(!Array.isArray(resolved[key]))continue;const labels=[...new Set(list(resolved[key]).map(branch=>typeLabel(spec,branch,depth+1)))];const useful=key===`allOf`?labels.filter(label=>label!==`unknown`):labels;if(useful.length===1)parts.push(useful[0]);else if(useful.length)parts.push(key===`allOf`?useful.map(label=>`(${label})`).join(` \u0026 `):`${key}(${useful.join(` | `)})`)}const types=typeof resolved.type===`string`?[resolved.type]:list(resolved.type).filter(value=>typeof value===`string`);if(!types.length\u0026\u0026resolved.properties\u0026\u0026!parts.length)types.push(`object`);if(!types.length\u0026\u0026resolved.items)types.push(`array`);const ownType=types.map(type=>type===`array`?`array\u003c${typeLabel(spec,resolved.items,depth+1)}>`:type!==`null`\u0026\u0026typeof resolved.format===`string`?`${type}\u003c${resolved.format}>`:type).join(` | `);if(ownType\u0026\u0026!parts.includes(ownType))parts.push(ownType);let label=parts.join(` \u0026 `)||(owns(resolved,`const`)?resolved.const===null?`null`:typeof resolved.const:`unknown`);if(resolved.nullable===true\u0026\u0026!types.includes(`null`))label=`(${label}) | null`;return label}function schemaType(spec,schema){return typeLabel(spec,schema,0)}function options(spec,input,depth){if(input===false)return[];if(depth>=16)return null;const schema=record(resolveSchema(spec,input));if(schema.$ref||schema[`x-resolution-error`])return null;let values=null;if(Array.isArray(schema.enum)\u0026\u0026schema.enum.every(scalar))values=schema.enum;if(owns(schema,`const`)\u0026\u0026scalar(schema.const))values=[schema.const];if(schema.type===`null`)values=[null];for(const key of[`anyOf`,`oneOf`]){if(!Array.isArray(schema[key]))continue;const branches=list(schema[key]).map(branch=>options(spec,branch,depth+1));if(values===null\u0026\u0026branches.every(branch=>branch!==null))values=branches.flat()}for(const branch of list(schema.allOf)){const bounded=options(spec,branch,depth+1);if(values===null\u0026\u0026bounded!==null)values=bounded}if(values===null)return null;if(schema.nullable===true)values=[...values,null];return[...new Set(values)].filter(value=>permitsScalar(spec,schema,value,depth))}function permitsScalar(spec,input,value,depth){if(input===false)return false;if(depth>=16)return true;const schema=record(resolveSchema(spec,input));if(value===null\u0026\u0026schema.nullable===true)return true;if(Array.isArray(schema.enum)\u0026\u0026!schema.enum.includes(value))return false;if(owns(schema,`const`)\u0026\u0026schema.const!==value)return false;const types=typeof schema.type===`string`?[schema.type]:list(schema.type);const type=value===null?`null`:typeof value;if(types.length\u0026\u0026!types.includes(type)\u0026\u0026!(typeof value===`number`\u0026\u0026Number.isInteger(value)\u0026\u0026types.includes(`integer`)))return false;if(!list(schema.allOf).every(branch=>permitsScalar(spec,branch,value,depth+1)))return false;if(Array.isArray(schema.anyOf)\u0026\u0026!list(schema.anyOf).some(branch=>permitsScalar(spec,branch,value,depth+1)))return false;if(Array.isArray(schema.oneOf)){const matching=list(schema.oneOf).filter(branch=>permitsScalar(spec,branch,value,depth+1));if(matching.length!==1)return false}return true}function schemaOptions(spec,schema){return options(spec,schema,0)??[]}function explicitExample(spec,media){if(owns(media,`example`))return{found:true,value:media.example};for(const example of Object.values(record(media.examples))){const resolved=referenceObject(spec,example);if(owns(resolved,`value`))return{found:true,value:resolved.value}}return{found:false,value:undefined}}function generatedExample(spec,input,depth){if(depth>=6||input===false)return undefined;const schema=record(resolveSchema(spec,input));if(owns(schema,`example`))return schema.example;if(Array.isArray(schema.examples)\u0026\u0026schema.examples.length)return schema.examples[0];if(owns(schema,`const`))return schema.const;if(schema.$ref||schema[`x-resolution-error`])return undefined;if(!canGenerate(spec,schema,depth))return undefined;if(list(schema.enum).length)return schemaOptions(spec,schema)[0];if(schema.properties||schema.type===`object`)return objectExample(spec,schema,depth);if(schema.type===`array`||schema.items)return schema.minItems?undefined:[];const type=typeof schema.type===`string`?schema.type:list(schema.type).find(value=>value!==`null`);if(type===`string`)return schema.pattern||schema.format||schema.minLength?undefined:typeof schema.maxLength===`number`\u0026\u0026schema.maxLength\u003c6?``:`string`;if(type===`boolean`)return false;if(type===`null`)return null;if(type===`integer`||type===`number`)return numericExample(schema);const branches=list(schema.allOf);return branches.length===1?generatedExample(spec,branches[0],depth+1):undefined}function canGenerate(spec,input,depth){if(input===false||depth>=12)return false;const schema=record(resolveSchema(spec,input));if([`anyOf`,`oneOf`,`not`,`if`,`dependentRequired`,`dependentSchemas`,`contains`,`minProperties`,`unevaluatedProperties`].some(key=>owns(schema,key)))return false;return list(schema.allOf).every(branch=>{const item=record(branch);if(item.additionalProperties===false||!canGenerate(spec,branch,depth+1))return false;return[`minimum`,`maximum`,`minLength`,`maxLength`,`minItems`,`maxItems`,`pattern`,`format`,`multipleOf`].every(key=>!owns(item,key)||JSON.stringify(item[key])===JSON.stringify(schema[key]))})}function numericExample(schema){let value=typeof schema.minimum===`number`?Math.max(0,schema.minimum):0;if(schema.type===`integer`)value=Math.ceil(value);if(schema.exclusiveMinimum!==undefined||schema.exclusiveMaximum!==undefined||schema.multipleOf!==undefined)return undefined;if(typeof schema.maximum===`number`\u0026\u0026value>schema.maximum)return undefined;return value}function objectExample(spec,schema,depth){const entries=[];const known=schemaFields(spec,schema);if(list(schema.required).some(name=>!known.some(field=>field.name===name)))return undefined;for(const field of known.filter(item=>item.required)){const value=generatedExample(spec,field.schema,depth+1);if(value===undefined)return undefined;entries.push([field.name,value])}return Object.fromEntries(entries)}function contentModel(spec,container){const content=record(container.content);const keys=Object.keys(content);const contentType=keys.find(key=>key===`application/json`)??keys.find(key=>/\\+json(?:;|$)/i.test(key))??keys[0]??null;const media=contentType?record(content[contentType]):{};const schema=owns(media,`schema`)?resolveSchema(spec,media.schema):null;const explicit=explicitExample(spec,media);return{contentType,schema,example:explicit.found?explicit.value:schema===null?undefined:generatedExample(spec,schema,0)}}function parameterModels(spec,values){const parameters=new Map;for(const value of values){const item=referenceObject(spec,value);const schema=owns(item,`schema`)?resolveSchema(spec,item.schema):contentModel(spec,item).schema??{};const name=text(item.name);const location=text(item.in);parameters.set(JSON.stringify([name,location]),{name,location,required:location===`path`||item.required===true,schema,description:text(item.description??record(schema).description)})}return[...parameters.values()]}function serverUrl(servers){const server=record(list(servers)[0]);return text(server.url).replace(/\\{([^{}]+)\\}/g,(match,name)=>{const variable=record(record(server.variables)[name]);return owns(variable,`default`)?String(variable.default):match})}function requestBodyModel(spec,body){const content=contentModel(spec,body);return{required:body.required===true,description:text(body.description??record(content.schema).description),...content}}function createOperationModel(spec,path,method){const verb=method.toLowerCase();const item=referenceObject(spec,record(spec.paths)[path]);if(![`get`,`put`,`post`,`delete`,`options`,`head`,`patch`,`trace`].includes(verb)||!owns(item,verb)){throw new Error(`Operation not found: ${method.toUpperCase()} ${path}`)}const operation=referenceObject(spec,item[verb]);const body=owns(operation,`requestBody`)?referenceObject(spec,operation.requestBody):null;return{title:text(operation.summary)||text(operation.operationId)||`${verb.toUpperCase()} ${path}`,description:text(operation.description),method:verb.toUpperCase(),path,server:serverUrl(operation.servers??item.servers??spec.servers),parameters:parameterModels(spec,[...list(item.parameters),...list(operation.parameters)]),requestBody:body?requestBodyModel(spec,body):null,responses:Object.entries(record(operation.responses)).map(([status,value])=>{const response=referenceObject(spec,value);return{status,description:text(response.description),...contentModel(spec,response)}}),security:list(operation.security??spec.security),securitySchemes:Object.fromEntries(Object.entries(record(record(spec.components).securitySchemes)).map(([name,value])=>[name,referenceObject(spec,value)]))}}return{createOperationModel,schemaFields,schemaType,schemaOptions,resolveSchema}};const ApiCode=({language,children})=>{const{CodeBlock}=_provideComponents()||{};if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);return _jsx(CodeBlock,{language,children})};const ApiRequest=({model,CodeBlock})=>{const origin=`https://orchestration.flashnet.xyz`;const[language,setLanguage]=useState(`curl`);const method=model.method.toUpperCase();const security=selectSecurity();const authFields=security===null?[]:Object.keys(security).map(authField);const parameters=(model.parameters||[]).filter(parameter=>[`path`,`query`,`header`].includes(parameter.location)\u0026\u0026!(parameter.location===`header`\u0026\u0026parameter.name.toLowerCase()===`authorization`)\u0026\u0026!authFields.some(field=>field.location===parameter.location\u0026\u0026(field.location===`header`?field.name.toLowerCase()===parameter.name.toLowerCase():field.name===parameter.name)));const example=codeExample();function initialBody(){const requestBody=model.requestBody;if(!requestBody)return``;const value=requestBody.example??requestBody.schema?.example;return value===undefined\u0026\u0026!requestBody.required?``:JSON.stringify(value??{},null,2)}function publishedServerSupported(){try{const server=new URL(model.server);return server.origin===origin\u0026\u0026!server.username\u0026\u0026!server.password}catch{return false}}function supportedSecurity(name){const scheme=model.securitySchemes?.[name];if(!scheme)return false;if([`oauth2`,`openIdConnect`].includes(scheme.type))return true;if(scheme.type===`http`)return[`bearer`,`basic`].includes(scheme.scheme?.toLowerCase());return scheme.type===`apiKey`\u0026\u0026[`header`,`query`].includes(scheme.in)\u0026\u0026Boolean(scheme.name)}function selectSecurity(){const requirements=model.security||[];if(!requirements.length||requirements.some(requirement=>!Object.keys(requirement).length))return{};return requirements.find(requirement=>{const names=Object.keys(requirement);if(!names.every(supportedSecurity))return false;const targets=names.map(name=>{const field=authField(name);return field.location+`:`+(field.location===`header`?field.name.toLowerCase():field.name)});return new Set(targets).size===targets.length})??null}function authField(key){const scheme=model.securitySchemes[key];const apiKey=scheme.type===`apiKey`;const basic=scheme.scheme?.toLowerCase()===`basic`;return{key,name:apiKey?scheme.name:`Authorization`,location:apiKey?scheme.in:`header`,prefix:apiKey?``:basic?`Basic `:`Bearer `,placeholder:basic?`BASE64_USERNAME_PASSWORD`:`YOUR_`+key.toUpperCase().replace(/[^A-Z0-9]/g,`_`)}}function parameterKey(parameter){return parameter.location+`:`+parameter.name}function placeholder(name){return`YOUR_`+name.toUpperCase().replace(/[^A-Z0-9]/g,`_`)}function requestUrl(inputs){if(!publishedServerSupported())throw new Error(`Unsupported published server.`);if(!/^\\/v\\d+(?:\\/|$)/.test(model.path)||/[?#\\\\]/.test(model.path))throw new Error(`Invalid API path.`);const segments=model.path.split(`/`).map(segment=>{const resolved=segment.replace(/\\{([^{}]+)\\}/g,(_,name)=>{const value=inputs[`path:`+name];if(!value?.trim())throw new Error(`Enter `+name+`.`);return value});if([`.`,`..`].includes(resolved))throw new Error(`Path values cannot be dot segments.`);return encodeURIComponent(resolved)});const url=new URL(origin);url.pathname=segments.join(`/`);for(const parameter of parameters){const value=inputs[parameterKey(parameter)];if(parameter.location===`query`\u0026\u0026value?.trim())url.searchParams.append(parameter.name,value)}return url}function shellQuote(value){return`'`+value.replace(/'/g,`'\"'\"'`)+`'`}function applyExampleSecurity(url,headers){if(security===null)throw new Error(`Unsupported example authentication.`);for(const field of authFields){if(field.location===`query`){url.searchParams.set(field.name,field.placeholder)}else{headers.set(field.name,field.prefix+field.placeholder)}}}function exampleRequest(){if(![`GET`,`POST`,`PUT`,`PATCH`,`DELETE`,`HEAD`,`OPTIONS`].includes(method)){throw new Error(`Unsupported HTTP method.`)}const inputs=Object.fromEntries(parameters.map(parameter=>[parameterKey(parameter),placeholder(parameter.name)]));for(const match of model.path.matchAll(/\\{([^{}]+)\\}/g))inputs[`path:`+match[1]]=placeholder(match[1]);const url=requestUrl(inputs);const headers=new Headers({Accept:`application/json`});for(const parameter of parameters){if(parameter.location===`header`)headers.set(parameter.name,placeholder(parameter.name))}applyExampleSecurity(url,headers);const payload=model.requestBody\u0026\u0026![`GET`,`HEAD`].includes(method)?initialBody()||`{}`:undefined;if(payload!==undefined)headers.set(`Content-Type`,model.requestBody.contentType||`application/json`);const query=Array.from(url.searchParams.entries());url.search=``;return{url:url.toString(),query,headers:Object.fromEntries(headers.entries()),body:payload}}function curlExample(request){const lines=[method===`GET`?`curl --get`:`curl --request `+shellQuote(method)];lines.push(` --url `+shellQuote(request.url));const queryOption=method===`GET`?`--data-urlencode`:`--url-query`;for(const[name,value]of request.query){lines.push(` `+queryOption+` `+shellQuote(encodeURIComponent(name)+`=`+value))}for(const[name,value]of Object.entries(request.headers))lines.push(` --header `+shellQuote(name+`: `+value));if(request.body!==undefined)lines.push(` --data-raw `+shellQuote(request.body));return lines.join(` \\\\\n`)}function javascriptExample(request){const lines=[`const url = new URL(`+JSON.stringify(request.url)+`);`];for(const[name,value]of request.query){lines.push(`url.searchParams.append(`+JSON.stringify(name)+`, `+JSON.stringify(value)+`);`)}const options={method,headers:request.headers,credentials:`omit`,redirect:`error`};lines.push(``,`const response = await fetch(url, `+JSON.stringify(options,null,2).slice(0,-2)+`,`);if(request.body!==undefined){lines.push(` body: [`);for(const line of request.body.split(`\n`))lines.push(` `+JSON.stringify(line)+`,`);lines.push(` ].join(\"\\\\n\"),`)}return[...lines,` signal: AbortSignal.timeout(30000)`,`});`,`console.log(response.status);`,`console.log(await response.text());`].join(`\n`)}function pythonExample(request){const lines=[`import requests`,``,`response = requests.request(`,` `+JSON.stringify(method)+`,`,` `+JSON.stringify(request.url)+`,`];if(request.query.length){lines.push(` params={`);for(const[name,value]of request.query)lines.push(` `+JSON.stringify(name)+`: `+JSON.stringify(value)+`,`);lines.push(` },`)}lines.push(` headers={`);for(const[name,value]of Object.entries(request.headers))lines.push(` `+JSON.stringify(name)+`: `+JSON.stringify(value)+`,`);lines.push(` },`);if(request.body!==undefined){lines.push(` data=(`);const bodyLines=request.body.split(`\n`);bodyLines.forEach((line,index)=>lines.push(` `+JSON.stringify(line+(index\u003cbodyLines.length-1?`\n`:``))));lines.push(` ),`)}return[...lines,` timeout=30,`,` allow_redirects=False,`,`)`,`print(response.status_code)`,`print(response.text)`].join(`\n`)}function codeExample(){try{const request=exampleRequest();if(language===`curl`)return curlExample(request);return language===`javascript`?javascriptExample(request):pythonExample(request)}catch(failure){return`Example unavailable: `+(failure instanceof Error?failure.message:`invalid endpoint model.`)}}return _jsxs(`div`,{className:`api-reference-request`,children:[_jsx(`div`,{className:`api-reference-code-toolbar`,children:_jsx(`div`,{className:`api-reference-language-tabs`,role:`group`,\"aria-label\":`Request language`,children:[`curl`,`javascript`,`python`].map(item=>_jsx(`button`,{className:`api-reference-language-tab`,type:`button`,\"aria-pressed\":language===item,onClick:()=>setLanguage(item),children:item===`javascript`?`JavaScript`:item===`python`?`Python`:`cURL`},item))})}),CodeBlock?_jsx(CodeBlock,{language:language===`curl`?`bash`:language,children:example}):_jsx(`pre`,{className:`api-reference-code`,tabIndex:0,children:_jsx(`code`,{className:`api-reference-code-`+language,children:example})})]})};const LiveApiPage=({path,method,helpers,RequestComponent,CodeBlock})=>{const _components={a:`a`,..._provideComponents()};const schemaDetails=({schema,spec,helpers,depth=0,placement=`all`})=>{const resolved=helpers.resolveSchema(spec,schema);const options=helpers.schemaOptions(spec,schema);const branches=resolved.oneOf||resolved.anyOf||resolved.allOf||[];const nested=resolved.items||resolved;const fields=helpers.schemaFields(spec,nested);const hasChildren=fields.length>0||branches.length>0\u0026\u0026options.length===0;if(placement===`nested`\u0026\u0026!hasChildren)return null;return _jsxs(_Fragment,{children:[placement!==`nested`\u0026\u0026options.length>0\u0026\u0026_jsxs(`details`,{className:`api-reference-disclosure`,children:[_jsxs(`summary`,{children:[`Allowed values `,_jsx(`span`,{children:options.length})]}),_jsx(`div`,{className:`api-reference-values`,children:options.map((value,index)=>_jsx(`code`,{children:JSON.stringify(value)},index))})]}),placement!==`inline`\u0026\u0026depth\u003c8\u0026\u0026fields.length>0\u0026\u0026_jsxs(`details`,{className:`api-reference-disclosure api-reference-children`,children:[_jsxs(`summary`,{children:[resolved.items?`Item fields`:`Fields`,` `,_jsx(`span`,{children:fields.length})]}),schemaTable({fields,spec,helpers,depth:depth+1})]}),placement!==`inline`\u0026\u0026depth\u003c8\u0026\u0026branches.length>0\u0026\u0026options.length===0\u0026\u0026_jsxs(`details`,{className:`api-reference-disclosure api-reference-children`,children:[_jsxs(`summary`,{children:[resolved.oneOf?`One of`:resolved.anyOf?`Any of`:`All of`,` `,_jsxs(`span`,{children:[branches.length,` schemas`]})]}),branches.map((branch,index)=>_jsxs(`div`,{className:`api-reference-variant`,children:[_jsx(`code`,{children:helpers.schemaType(spec,branch)}),description({text:branch.description}),schemaDetails({schema:branch,spec,helpers,depth:depth+1})]},index))]}),placement!==`nested`\u0026\u0026constraints({schema:resolved}),placement!==`inline`\u0026\u0026depth>=8\u0026\u0026_jsx(`a`,{href:`https://orchestration.flashnet.xyz/openapi.json`,children:`View full schema`})]})};const description=({text})=>text?_jsx(`div`,{className:`api-reference-description`,children:text.split(/(`[^`]+`)/g).map((part,index)=>part.startsWith(\"`\")\u0026\u0026part.endsWith(\"`\")?_jsx(`code`,{children:part.slice(1,-1)},index):_jsx(`span`,{children:part},index))}):null;const constraints=({schema})=>{const labels={minimum:`Minimum`,maximum:`Maximum`,exclusiveMinimum:`Greater than`,exclusiveMaximum:`Less than`,minLength:`Minimum length`,maxLength:`Maximum length`,minItems:`Minimum items`,maxItems:`Maximum items`,pattern:`Pattern`,multipleOf:`Multiple of`,default:`Default`,const:`Value`};return Object.entries(labels).map(([key,label])=>schema[key]!==undefined?_jsxs(`div`,{className:`api-reference-constraint`,children:[label,`: `,_jsx(`code`,{children:JSON.stringify(schema[key])})]},key):null)};const schemaTable=({fields,spec,helpers,depth=0})=>_jsxs(`div`,{className:`api-reference-fields`,role:`table`,\"aria-label\":depth?`Nested fields`:`Schema fields`,children:[_jsxs(`div`,{className:`api-reference-field-head`,role:`row`,children:[_jsx(`span`,{role:`columnheader`,children:`Property`}),_jsx(`span`,{role:`columnheader`,children:`Type`}),_jsx(`span`,{role:`columnheader`,children:`Description`})]}),fields.map((field,index)=>{const children=schemaDetails({schema:field.schema,spec,helpers,depth,placement:`nested`});return _jsxs(`div`,{className:`api-reference-field-group`,role:`rowgroup`,children:[_jsxs(`div`,{className:`api-reference-field`,role:`row`,children:[_jsxs(`div`,{role:`cell`,children:[_jsx(`code`,{children:field.name}),field.location\u0026\u0026_jsx(`span`,{className:`api-reference-location`,children:field.location})]}),_jsxs(`div`,{role:`cell`,className:`api-reference-type`,children:[_jsx(`code`,{children:helpers.schemaType(spec,field.schema)}),field.required\u0026\u0026_jsx(`span`,{className:`api-reference-required`,children:`required`}),field.schema.deprecated\u0026\u0026_jsx(`span`,{children:`deprecated`})]}),_jsxs(`div`,{role:`cell`,children:[description({text:field.description||field.schema.description}),schemaDetails({schema:field.schema,spec,helpers,depth,placement:`inline`})]})]}),children\u0026\u0026_jsx(`div`,{role:`row`,className:`api-reference-child-row`,children:_jsx(`div`,{role:`cell`,\"aria-colspan\":3,children})})]},`${field.location||``}:${field.name}:${index}`)})]});const responseSection=({model,spec,helpers})=>{const response=model.responses.find(item=>item.status===selected)||model.responses[0];if(!response)return _jsx(`p`,{children:`No response schema is published for this operation.`});const fields=helpers.schemaFields(spec,response.schema||{});return _jsxs(_Fragment,{children:[_jsxs(`div`,{className:`api-reference-response-bar`,children:[_jsxs(`label`,{children:[`Status`,` `,_jsx(`select`,{value:response.status,onChange:event=>setSelected(event.target.value),children:model.responses.map(item=>_jsx(`option`,{value:item.status,children:item.status},item.status))})]}),_jsx(`code`,{children:response.contentType})]}),description({text:response.description}),fields.length>0?schemaTable({fields,spec,helpers}):schemaDetails({schema:response.schema||{},spec,helpers}),response.example!==undefined\u0026\u0026_jsxs(`details`,{className:`api-reference-disclosure api-reference-response-example`,children:[_jsx(`summary`,{children:`JSON example`}),_jsx(CodeBlock,{language:`json`,children:JSON.stringify(response.example,null,2)})]})]})};const[state,setState]=useState({spec:null,error:``});const[attempt,setAttempt]=useState(0);const[selected,setSelected]=useState(``);const model=useMemo(()=>state.spec?helpers.createOperationModel(state.spec,path,method):null,[state.spec,path,method]);useEffect(()=>{const controller=new AbortController;let active=true;const timeout=setTimeout(()=>controller.abort(),15e3);setState({spec:null,error:``});fetch(`https://orchestration.flashnet.xyz/openapi.json`,{signal:controller.signal,credentials:`omit`}).then(response=>{if(!response.ok)throw new Error(`The API specification is unavailable.`);return response.json()}).then(spec=>{helpers.createOperationModel(spec,path,method);if(active)setState({spec,error:``})}).catch(error=>{console.error(`Could not render the official OpenAPI operation`,error);if(active)setState({spec:null,error:`Could not load this endpoint from the official API specification.`})}).finally(()=>clearTimeout(timeout));return()=>{active=false;clearTimeout(timeout);controller.abort()}},[path,method,attempt]);if(state.error)return _jsxs(`div`,{className:`api-reference`,role:`alert`,children:[_jsx(`p`,{children:state.error}),_jsx(`button`,{onClick:()=>setAttempt(attempt+1),children:`Retry`}),` `,_jsx(`a`,{href:`https://orchestration.flashnet.xyz/docs`,children:`Open official reference`})]});if(!state.spec)return _jsx(`div`,{className:`api-reference`,role:`status`,\"aria-live\":`polite`,children:`Loading endpoint...`});return _jsxs(`div`,{className:`api-reference api-reference-layout`,children:[_jsxs(`div`,{className:`api-reference-main`,children:[description({text:model.description}),model.security?.length>0\u0026\u0026!model.security.some(requirement=>Object.keys(requirement).length===0)\u0026\u0026_jsxs(`p`,{className:`api-reference-auth`,children:[_jsx(_components.a,{href:`/api/authentication`,children:`Authentication`}),` required by the published specification.`]}),_jsxs(`section`,{id:`parameters`,children:[_jsx(`h2`,{children:`Parameters`}),model.parameters.length>0?schemaTable({fields:model.parameters,spec:state.spec,helpers}):_jsx(`p`,{children:`No path, query, or header parameters.`}),model.requestBody\u0026\u0026_jsxs(_Fragment,{children:[_jsx(`h3`,{children:`Request body`}),description({text:model.requestBody.description}),schemaDetails({schema:model.requestBody.schema,spec:state.spec,helpers})]})]}),_jsxs(`section`,{id:`request`,children:[_jsx(`h2`,{children:`Request`}),_jsx(RequestComponent,{model,CodeBlock})]}),_jsxs(`section`,{id:`response`,children:[_jsx(`h2`,{children:`Response`}),responseSection({model,spec:state.spec,helpers})]}),_jsx(`p`,{className:`api-reference-source`,children:_jsx(`a`,{href:`https://orchestration.flashnet.xyz/openapi.json`,children:`Official OpenAPI specification`})})]}),_jsx(`aside`,{className:`api-reference-toc`,children:_jsxs(`nav`,{\"aria-label\":`On this page`,children:[_jsx(`span`,{children:`On this page`}),_jsx(`a`,{href:`#parameters`,children:`Parameters`}),_jsx(`a`,{href:`#request`,children:`Request`}),_jsx(`a`,{href:`#response`,children:`Response`})]})})]})};function _createMdxContent(props){const{_MdxComponentBoundary}={..._provideComponents(),...props.components};if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsx(`div`,{className:`api-reference-page`,children:_jsx(_MdxComponentBoundary,{name:`LiveApiPage`,children:_jsx(LiveApiPage,{path:`/v1/orchestration/estimate`,method:`get`,helpers:createApiHelpers(),RequestComponent:ApiRequest,CodeBlock:ApiCode})})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{createApiHelpers,ApiCode,ApiRequest,LiveApiPage,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Estimate a swap","sidebarTitle":"Estimate a swap","description":"Indicative price for a route, no state created. Public. HyperCore source routes are unavailable until independent deposit verification is supported; HyperCore destinations remain supported.","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/orchestration/estimate","href":"/api-reference/orchestration/estimate-a-swap"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[19,69,"jsx:_jsx}=arguments["],[155,31260,"null;const ApiCode=()=>null;const ApiRequest=()=>null;const LiveApiPage=()=>null"],[31627,31654,""]]},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Estimate a swap","description":"Indicative price for a route, no state created. Public. HyperCore source routes are unavailable until independent deposit verification is supported; HyperCore destinations remain supported.","operationId":"getV1OrchestrationEstimate","security":["2857dc8b-0bde-46ab-890c-a98ccbd886d5","fd8703d8-20a6-4c7d-8acd-c0d1ec640d94"],"tags":["Orchestration"],"x-group":"Orchestration","parameters":["32ac39db-882b-4e5c-83f5-c34c357a3f91","dd9b988e-82db-4a80-95ab-587ae138521f","18890c04-15ee-4d9d-a6e5-bbd366eafd2d","89cec755-95bd-4f72-a312-5def2ca1ad42","1b39b8ed-e2c8-4450-bc3d-0d90599e723f","4268ca09-edd2-4ce3-87f8-d6f58cfe262c","16e1f54f-6743-46c5-8dd1-476beb624810","a5c57307-fe85-4c09-b58b-1a5720f95937","74b55514-7006-49f7-b121-8001a83ac173","94d91271-30c2-490a-bd58-8c5d497509c3","7a99019a-129f-49c9-9d52-a09f7d82d1b9","60e83943-f33d-47a2-a8fa-cca34dd9f04a","b9a41a4b-e16d-4aee-b5a8-906e7b5236f5","6121ebb7-79c8-4aef-8801-2fb95486a3f2"],"responses":{"200":"867964b9-5ce4-434b-9482-0848965f47c7","400":"f8b18dd4-0745-4b2a-a177-6fcfe94a1032","403":"58b8f5d5-5ec3-4f26-bbf6-6cc0944213d2","429":"86bd1a68-5702-430f-b6cc-1313cee16f6b","503":"70eabee9-ff9a-4ec0-ad54-917f8f9fae78"},"method":"get","type":"path","servers":["e7e15f1e-43d8-4a04-a08f-b8f090bb10d7"],"path":"/v1/orchestration/estimate","baseUrlOptions":["https://orchestration.flashnet.xyz"],"title":"Estimate a swap","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"32ac39db-882b-4e5c-83f5-c34c357a3f91":{"schema":{"type":"string","enum":["arbitrum","arc","avalanche","base","bitcoin","bsc","ethereum","hedera","hypercore","hyperevm","lightning","litecoin","monad","monero","optimism","plasma","polygon","robinhood","sei","solana","spark","tempo","ton","tron","xrp","zcash"],"isRequired":true,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":true,"name":"sourceChain","in":"query"},"dd9b988e-82db-4a80-95ab-587ae138521f":{"schema":{"oneOf":[{"type":"string","description":"An AssetInput, or a token address. A quote whose source is an unlisted token requires refundAddress: a deposit that cannot be sold is refunded in kind there.","enum":["AAPL","AI","AMD","AMZN","BNB","BONER","BTC","CASHCAT","COIN","COST","DAI","DELTA","DJT","ETH","GLD","GME","GOOGL","GRAM","HIMS","HSUSD","HYPE","IF","LTC","META","MON","MSFT","MSTR","MU","NVDA","OUSD","PIPEDOG","PLTR","POL","PONS","PYUSD","PathUSD","QQQ","RDDT","SHX","SKHY","SLV","SNDK","SOL","SPCX","SPY","STONKBROKER","TENDIES","TRX","TSLA","TSM","UP","USDB","USDC","USDC.e","USDG","USDT","USDe","USD₮0","USO","WBNB","WBTC","WEN","XMR","XO","XPL","XRP","ZEC","cbBTC","tBTC"],"isRequired":true,"uniqueKey":"oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"An AssetInput, or a token address. A quote whose source is an unlisted token requires refundAddress: a deposit that cannot be sold is refunded in kind there.","enum":["TON"],"isRequired":true,"uniqueKey":"oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"string","description":"An AssetInput, or a token address. A quote whose source is an unlisted token requires refundAddress: a deposit that cannot be sold is refunded in kind there.","maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","isRequired":true,"uniqueKey":"oneOf.2","typeLabel":"string"},{"type":"string","description":"An AssetInput, or a token address. A quote whose source is an unlisted token requires refundAddress: a deposit that cannot be sold is refunded in kind there.","pattern":"^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$","isRequired":true,"uniqueKey":"oneOf.3","typeLabel":"string"}],"isRequired":true,"uniqueKey":"","typeLabel":"enum\u003cstring> · enum\u003cstring> · string · string"},"required":true,"description":"An AssetInput, or a token address. A quote whose source is an unlisted token requires refundAddress: a deposit that cannot be sold is refunded in kind there.","name":"sourceAsset","in":"query"},"18890c04-15ee-4d9d-a6e5-bbd366eafd2d":{"schema":{"type":"string","enum":["arbitrum","arc","avalanche","base","bitcoin","bsc","ethereum","hedera","hypercore","hyperevm","lightning","litecoin","monad","monero","optimism","plasma","polygon","robinhood","sei","solana","spark","tempo","ton","tron","xrp","zcash"],"isRequired":true,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":true,"name":"destinationChain","in":"query"},"89cec755-95bd-4f72-a312-5def2ca1ad42":{"schema":{"oneOf":[{"type":"string","description":"An AssetInput, or a token address. An unlisted destination adds minAmountOut and fallback to the quote.","enum":["AAPL","AI","AMD","AMZN","BNB","BONER","BTC","CASHCAT","COIN","COST","DAI","DELTA","DJT","ETH","GLD","GME","GOOGL","GRAM","HIMS","HSUSD","HYPE","IF","LTC","META","MON","MSFT","MSTR","MU","NVDA","OUSD","PIPEDOG","PLTR","POL","PONS","PYUSD","PathUSD","QQQ","RDDT","SHX","SKHY","SLV","SNDK","SOL","SPCX","SPY","STONKBROKER","TENDIES","TRX","TSLA","TSM","UP","USDB","USDC","USDC.e","USDG","USDT","USDe","USD₮0","USO","WBNB","WBTC","WEN","XMR","XO","XPL","XRP","ZEC","cbBTC","tBTC"],"isRequired":true,"uniqueKey":"oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","description":"An AssetInput, or a token address. An unlisted destination adds minAmountOut and fallback to the quote.","enum":["TON"],"isRequired":true,"uniqueKey":"oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"string","description":"An AssetInput, or a token address. An unlisted destination adds minAmountOut and fallback to the quote.","maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9._-]*$","isRequired":true,"uniqueKey":"oneOf.2","typeLabel":"string"},{"type":"string","description":"An AssetInput, or a token address. An unlisted destination adds minAmountOut and fallback to the quote.","pattern":"^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$","isRequired":true,"uniqueKey":"oneOf.3","typeLabel":"string"}],"isRequired":true,"uniqueKey":"","typeLabel":"enum\u003cstring> · enum\u003cstring> · string · string"},"required":true,"description":"An AssetInput, or a token address. An unlisted destination adds minAmountOut and fallback to the quote.","name":"destinationAsset","in":"query"},"1b39b8ed-e2c8-4450-bc3d-0d90599e723f":{"schema":{"type":"string","pattern":"^[0-9]+$","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"name":"amount","in":"query"},"4268ca09-edd2-4ce3-87f8-d6f58cfe262c":{"schema":{"type":"string","enum":["exact_in","exact_out"],"isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false,"name":"amountMode","in":"query"},"16e1f54f-6743-46c5-8dd1-476beb624810":{"schema":{"type":"string","enum":["variable","fixed"],"description":"Delivery mode; fixed requires exact_in and an eligible route with active partner terms. A route accepts fixed only where /v2/orchestration/routes reports fixedEligible (fixedTo); other routes return 400 fixed_delivery_unsupported_route. Fixed estimates are indicative; quotes validate exact-output affordability before returning deposit instructions. Fixed stablecoin routes to Solana USDC include recipient token-account creation costs upfront and preserve the quoted payout.","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false,"description":"Delivery mode; fixed requires exact_in and an eligible route with active partner terms. A route accepts fixed only where /v2/orchestration/routes reports fixedEligible (fixedTo); other routes return 400 fixed_delivery_unsupported_route. Fixed estimates are indicative; quotes validate exact-output affordability before returning deposit instructions. Fixed stablecoin routes to Solana USDC include recipient token-account creation costs upfront and preserve the quoted payout.","name":"deliveryMode","in":"query"},"a5c57307-fe85-4c09-b58b-1a5720f95937":{"schema":{"type":"string","minLength":1,"description":"Destination recipient for validation and network costs; use the owner address for Solana tokens.","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Destination recipient for validation and network costs; use the owner address for Solana tokens.","name":"recipientAddress","in":"query"},"74b55514-7006-49f7-b121-8001a83ac173":{"schema":{"type":"integer","minimum":0,"maximum":1000,"isRequired":false,"uniqueKey":"","typeLabel":"integer"},"required":false,"name":"slippageBps","in":"query"},"94d91271-30c2-490a-bd58-8c5d497509c3":{"schema":{"type":"string","enum":["legacy","specific"],"description":"Opt in to affiliate_not_found / affiliate_disabled for registered affiliate lookup failures. Omitted or legacy preserves invalid_request. HTTP 400 in either mode.","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false,"description":"Opt in to affiliate_not_found / affiliate_disabled for registered affiliate lookup failures. Omitted or legacy preserves invalid_request. HTTP 400 in either mode.","name":"affiliateErrorMode","in":"query"},"7a99019a-129f-49c9-9d52-a09f7d82d1b9":{"schema":{"type":"string","enum":["default","shielded"],"description":"Shielded is native ZEC exact-in variable only. No account or provider deposit is allocated by estimates.","isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false,"description":"Shielded is native ZEC exact-in variable only. No account or provider deposit is allocated by estimates.","name":"sourcePaymentMode","in":"query"},"60e83943-f33d-47a2-a8fa-cca34dd9f04a":{"schema":{"type":"string","enum":["best_return"],"isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>"},"required":false,"name":"routing","in":"query"},"b9a41a4b-e16d-4aee-b5a8-906e7b5236f5":{"schema":{"type":"string","description":"Shielded only: comma-separated near-intents and/or hyperunit, without duplicates.","isRequired":false,"uniqueKey":"","typeLabel":"string"},"required":false,"description":"Shielded only: comma-separated near-intents and/or hyperunit, without duplicates.","name":"allowedProviders","in":"query"},"6121ebb7-79c8-4aef-8801-2fb95486a3f2":{"schema":{"type":"integer","exclusiveMinimum":0,"description":"Shielded only: upper bound for eligible provider estimates.","isRequired":false,"uniqueKey":"","typeLabel":"integer"},"required":false,"description":"Shielded only: upper bound for eligible provider estimates.","name":"maxEstimatedSettlementSeconds","in":"query"}},"responses":{"867964b9-5ce4-434b-9482-0848965f47c7":{"description":"Quote estimate","content":{"application/json":{"schema":{"type":"object","properties":{"estimatedOut":{"type":"string","isRequired":true,"uniqueKey":"estimatedOut","typeLabel":"string"},"feeAmount":{"type":"string","isRequired":true,"uniqueKey":"feeAmount","typeLabel":"string"},"feeBps":{"type":"integer","isRequired":true,"uniqueKey":"feeBps","typeLabel":"integer"},"feeAsset":{"type":"string","isRequired":true,"uniqueKey":"feeAsset","typeLabel":"string"},"route":{"type":"array","items":{"type":"string","uniqueKey":"route.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"route","typeLabel":"string[]"},"source":{"type":"object","properties":{"chain":{"type":"string","enum":["arbitrum","arc","avalanche","base","bitcoin","bsc","ethereum","hedera","hypercore","hyperevm","lightning","litecoin","monad","monero","optimism","plasma","polygon","robinhood","sei","solana","spark","tempo","ton","tron","xrp","zcash"],"isRequired":true,"uniqueKey":"source.chain","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","isRequired":true,"uniqueKey":"source.asset","typeLabel":"string"},"assetDisplayName":{"type":"string","isRequired":true,"uniqueKey":"source.assetDisplayName","typeLabel":"string"},"assetDisplaySymbol":{"type":"string","isRequired":true,"uniqueKey":"source.assetDisplaySymbol","typeLabel":"string"},"contractAddress":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"source.contractAddress.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"source.contractAddress.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"source.contractAddress","typeLabel":"string | null"},"decimals":{"type":"integer","isRequired":true,"uniqueKey":"source.decimals","typeLabel":"integer"},"chainId":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"source.chainId.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"source.chainId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"source.chainId","typeLabel":"string | null"},"chainDisplayName":{"type":"string","isRequired":true,"uniqueKey":"source.chainDisplayName","typeLabel":"string"},"chainIcon":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"source.chainIcon.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"source.chainIcon.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"source.chainIcon","typeLabel":"string | null"},"tokenProgram":{"type":"string","enum":["erc20","spl","token-2022"],"uniqueKey":"source.tokenProgram","typeLabel":"enum\u003cstring>"},"reviewedIdentity":{"type":"object","properties":{"version":{"type":"number","enum":[1],"isRequired":true,"uniqueKey":"source.reviewedIdentity.version","typeLabel":"enum\u003cnumber>"},"catalogVersion":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","isRequired":true,"uniqueKey":"source.reviewedIdentity.catalogVersion","typeLabel":"string"},"chain":{"type":"string","enum":["solana","ethereum","bsc","arbitrum"],"isRequired":true,"uniqueKey":"source.reviewedIdentity.chain","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","minLength":1,"maxLength":32,"isRequired":true,"uniqueKey":"source.reviewedIdentity.asset","typeLabel":"string"},"address":{"type":"string","minLength":32,"maxLength":44,"isRequired":true,"uniqueKey":"source.reviewedIdentity.address","typeLabel":"string"},"decimals":{"type":"integer","minimum":0,"maximum":255,"isRequired":true,"uniqueKey":"source.reviewedIdentity.decimals","typeLabel":"integer"},"tokenProgram":{"type":"string","enum":["erc20","spl","token-2022"],"isRequired":true,"uniqueKey":"source.reviewedIdentity.tokenProgram","typeLabel":"enum\u003cstring>"},"mechanic":{"type":"string","enum":["standard","scaled-ui","rebasing","accumulating"],"isRequired":true,"uniqueKey":"source.reviewedIdentity.mechanic","typeLabel":"enum\u003cstring>"},"mechanicHash":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","isRequired":true,"uniqueKey":"source.reviewedIdentity.mechanicHash","typeLabel":"string"}},"required":["version","catalogVersion","chain","asset","address","decimals","tokenProgram","mechanic","mechanicHash"],"additionalProperties":false,"uniqueKey":"source.reviewedIdentity","typeLabel":"object"},"assetIcon":{"type":"string","format":"uri","description":"Absolute https logo URL served from the asset registry. Absent when the asset has no registry logo; clients keep their bundled artwork.","uniqueKey":"source.assetIcon","typeLabel":"string\u003curi>"},"listing":{"type":"string","enum":["listed","unlisted"],"description":"unlisted for a source or destination named by a token address the asset registry does not list; absent means listed. Unlisted details come from the token contract or mint and are display data only; asset and contractAddress are the canonical address, and a Solana mint carries tokenProgram.","uniqueKey":"source.listing","typeLabel":"enum\u003cstring>"}},"required":["chain","asset","assetDisplayName","assetDisplaySymbol","contractAddress","decimals","chainId","chainDisplayName","chainIcon"],"additionalProperties":false,"isRequired":true,"uniqueKey":"source","typeLabel":"object"},"destination":{"type":"object","properties":{"chain":{"type":"string","enum":["arbitrum","arc","avalanche","base","bitcoin","bsc","ethereum","hedera","hypercore","hyperevm","lightning","litecoin","monad","monero","optimism","plasma","polygon","robinhood","sei","solana","spark","tempo","ton","tron","xrp","zcash"],"isRequired":true,"uniqueKey":"destination.chain","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","isRequired":true,"uniqueKey":"destination.asset","typeLabel":"string"},"assetDisplayName":{"type":"string","isRequired":true,"uniqueKey":"destination.assetDisplayName","typeLabel":"string"},"assetDisplaySymbol":{"type":"string","isRequired":true,"uniqueKey":"destination.assetDisplaySymbol","typeLabel":"string"},"contractAddress":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"destination.contractAddress.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"destination.contractAddress.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"destination.contractAddress","typeLabel":"string | null"},"decimals":{"type":"integer","isRequired":true,"uniqueKey":"destination.decimals","typeLabel":"integer"},"chainId":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"destination.chainId.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"destination.chainId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"destination.chainId","typeLabel":"string | null"},"chainDisplayName":{"type":"string","isRequired":true,"uniqueKey":"destination.chainDisplayName","typeLabel":"string"},"chainIcon":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"destination.chainIcon.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"destination.chainIcon.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"destination.chainIcon","typeLabel":"string | null"},"tokenProgram":{"type":"string","enum":["erc20","spl","token-2022"],"uniqueKey":"destination.tokenProgram","typeLabel":"enum\u003cstring>"},"reviewedIdentity":{"type":"object","properties":{"version":{"type":"number","enum":[1],"isRequired":true,"uniqueKey":"destination.reviewedIdentity.version","typeLabel":"enum\u003cnumber>"},"catalogVersion":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","isRequired":true,"uniqueKey":"destination.reviewedIdentity.catalogVersion","typeLabel":"string"},"chain":{"type":"string","enum":["solana","ethereum","bsc","arbitrum"],"isRequired":true,"uniqueKey":"destination.reviewedIdentity.chain","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","minLength":1,"maxLength":32,"isRequired":true,"uniqueKey":"destination.reviewedIdentity.asset","typeLabel":"string"},"address":{"type":"string","minLength":32,"maxLength":44,"isRequired":true,"uniqueKey":"destination.reviewedIdentity.address","typeLabel":"string"},"decimals":{"type":"integer","minimum":0,"maximum":255,"isRequired":true,"uniqueKey":"destination.reviewedIdentity.decimals","typeLabel":"integer"},"tokenProgram":{"type":"string","enum":["erc20","spl","token-2022"],"isRequired":true,"uniqueKey":"destination.reviewedIdentity.tokenProgram","typeLabel":"enum\u003cstring>"},"mechanic":{"type":"string","enum":["standard","scaled-ui","rebasing","accumulating"],"isRequired":true,"uniqueKey":"destination.reviewedIdentity.mechanic","typeLabel":"enum\u003cstring>"},"mechanicHash":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","isRequired":true,"uniqueKey":"destination.reviewedIdentity.mechanicHash","typeLabel":"string"}},"required":["version","catalogVersion","chain","asset","address","decimals","tokenProgram","mechanic","mechanicHash"],"additionalProperties":false,"uniqueKey":"destination.reviewedIdentity","typeLabel":"object"},"assetIcon":{"type":"string","format":"uri","description":"Absolute https logo URL served from the asset registry. Absent when the asset has no registry logo; clients keep their bundled artwork.","uniqueKey":"destination.assetIcon","typeLabel":"string\u003curi>"},"listing":{"type":"string","enum":["listed","unlisted"],"description":"unlisted for a source or destination named by a token address the asset registry does not list; absent means listed. Unlisted details come from the token contract or mint and are display data only; asset and contractAddress are the canonical address, and a Solana mint carries tokenProgram.","uniqueKey":"destination.listing","typeLabel":"enum\u003cstring>"}},"required":["chain","asset","assetDisplayName","assetDisplaySymbol","contractAddress","decimals","chainId","chainDisplayName","chainIcon"],"additionalProperties":false,"isRequired":true,"uniqueKey":"destination","typeLabel":"object"},"sourcePaymentMode":{"type":"string","enum":["shielded"],"uniqueKey":"sourcePaymentMode","typeLabel":"enum\u003cstring>"},"priceValidUntil":{"type":"string","format":"date-time","description":"Two-minute indicative pricing deadline. Execution reprices after verified receipt and must preserve lockedMinAmountOut.","uniqueKey":"priceValidUntil","typeLabel":"string\u003cdate-time>"},"execution":{"type":"object","properties":{"policy":{"type":"object","properties":{"routing":{"type":"string","enum":["best_return"],"uniqueKey":"execution.policy.routing","typeLabel":"enum\u003cstring>"},"allowedProviders":{"type":"array","items":{"type":"string","enum":["near-intents","hyperunit"],"uniqueKey":"execution.policy.allowedProviders.items.[INDEX]","typeLabel":"enum\u003cstring>"},"minItems":1,"maxItems":2,"uniqueKey":"execution.policy.allowedProviders","typeLabel":"enum\u003cstring>[]"},"maxEstimatedSettlementSeconds":{"type":"integer","exclusiveMinimum":0,"minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"execution.policy.maxEstimatedSettlementSeconds","typeLabel":"integer"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"execution.policy","typeLabel":"object"},"quotedProvider":{"type":"string","enum":["near-intents","hyperunit"],"isRequired":true,"uniqueKey":"execution.quotedProvider","typeLabel":"enum\u003cstring>"},"eligibleProviders":{"type":"array","items":{"type":"string","enum":["near-intents","hyperunit"],"uniqueKey":"execution.eligibleProviders.items.[INDEX]","typeLabel":"enum\u003cstring>"},"minItems":1,"maxItems":2,"isRequired":true,"uniqueKey":"execution.eligibleProviders","typeLabel":"enum\u003cstring>[]"},"estimatedSettlementSeconds":{"type":"integer","exclusiveMinimum":0,"isRequired":true,"uniqueKey":"execution.estimatedSettlementSeconds","typeLabel":"integer"},"providerLocked":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"execution.providerLocked","typeLabel":"enum\u003cboolean>"}},"required":["policy","quotedProvider","eligibleProviders","estimatedSettlementSeconds","providerLocked"],"additionalProperties":false,"uniqueKey":"execution","typeLabel":"object"},"amountMode":{"type":"string","enum":["exact_in","exact_out"],"uniqueKey":"amountMode","typeLabel":"enum\u003cstring>"},"targetAmountOut":{"type":"string","uniqueKey":"targetAmountOut","typeLabel":"string"},"requiredAmountIn":{"type":"string","uniqueKey":"requiredAmountIn","typeLabel":"string"},"maxAcceptedAmountIn":{"type":"string","uniqueKey":"maxAcceptedAmountIn","typeLabel":"string"},"inputBufferBps":{"type":"integer","uniqueKey":"inputBufferBps","typeLabel":"integer"},"deliveryMode":{"type":"string","enum":["fixed"],"uniqueKey":"deliveryMode","typeLabel":"enum\u003cstring>"},"roundingFeeAmount":{"type":"string","uniqueKey":"roundingFeeAmount","typeLabel":"string"},"totalFeeAmount":{"type":"string","uniqueKey":"totalFeeAmount","typeLabel":"string"},"networkCostAmount":{"type":"string","description":"Quoted network cost in smallest units of networkCostAsset.","uniqueKey":"networkCostAmount","typeLabel":"string"},"networkCostAsset":{"type":"string","description":"Asset used to pay the quoted network cost.","uniqueKey":"networkCostAsset","typeLabel":"string"},"networkCostRequired":{"type":"boolean","description":"Whether the quoted network cost must be paid.","uniqueKey":"networkCostRequired","typeLabel":"boolean"},"networkCosts":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","nativeAmount","nativeAsset","amount","asset","assumption"],"properties":{"type":{"type":"string","enum":["solana_associated_token_account"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"nativeAmount":{"type":"string","isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.0.nativeAmount","typeLabel":"string"},"nativeAsset":{"type":"string","enum":["SOL"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.0.nativeAsset","typeLabel":"enum\u003cstring>"},"amount":{"type":"string","isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.0.amount","typeLabel":"string"},"asset":{"type":"string","isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.0.asset","typeLabel":"string"},"assumption":{"type":"string","enum":["assumed_missing","observed_missing","observed_exists"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.0.assumption","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"networkCosts.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["type","nativeAmount","nativeAsset","amount","asset"],"properties":{"type":{"type":"string","enum":["solana_mayan_order_accounts"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"nativeAmount":{"type":"string","isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.1.nativeAmount","typeLabel":"string"},"nativeAsset":{"type":"string","enum":["SOL"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.1.nativeAsset","typeLabel":"enum\u003cstring>"},"amount":{"type":"string","isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.1.amount","typeLabel":"string"},"asset":{"type":"string","enum":["USDC"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.1.asset","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"networkCosts.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","required":["type","nativeAmount","nativeAsset","amount","asset"],"properties":{"type":{"type":"string","enum":["tron_execution"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"nativeAmount":{"type":"string","isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.2.nativeAmount","typeLabel":"string"},"nativeAsset":{"type":"string","enum":["TRX"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.2.nativeAsset","typeLabel":"enum\u003cstring>"},"amount":{"type":"string","isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.2.amount","typeLabel":"string"},"asset":{"type":"string","enum":["TRX"],"isRequired":true,"uniqueKey":"networkCosts.items.[INDEX].oneOf.2.asset","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"uniqueKey":"networkCosts.items.[INDEX].oneOf.2","typeLabel":"object"}],"uniqueKey":"networkCosts.items.[INDEX]","typeLabel":"object"},"description":"Itemized network costs and quote-time assumptions.","uniqueKey":"networkCosts","typeLabel":"object[]"},"appFeeAmount":{"type":"string","uniqueKey":"appFeeAmount","typeLabel":"string"},"appFeePlatformCutAmount":{"type":"string","uniqueKey":"appFeePlatformCutAmount","typeLabel":"string"},"appFees":{"type":"array","items":{"type":"object","properties":{"recipient":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"appFees.items.[INDEX].recipient","typeLabel":"string"},"feeBps":{"type":"integer","minimum":1,"maximum":9999,"isRequired":true,"uniqueKey":"appFees.items.[INDEX].feeBps","typeLabel":"integer"},"amount":{"type":"string","isRequired":true,"uniqueKey":"appFees.items.[INDEX].amount","typeLabel":"string"},"platformCutAmount":{"type":"string","isRequired":true,"uniqueKey":"appFees.items.[INDEX].platformCutAmount","typeLabel":"string"},"recipientAmount":{"type":"string","isRequired":true,"uniqueKey":"appFees.items.[INDEX].recipientAmount","typeLabel":"string"},"affiliateId":{"type":"string","uniqueKey":"appFees.items.[INDEX].affiliateId","typeLabel":"string"}},"required":["recipient","feeBps","amount","platformCutAmount","recipientAmount"],"additionalProperties":false,"uniqueKey":"appFees.items.[INDEX]","typeLabel":"object"},"uniqueKey":"appFees","typeLabel":"object[]"},"feeAssetDetails":{"type":"object","properties":{"chain":{"type":"string","enum":["arbitrum","arc","avalanche","base","bitcoin","bsc","ethereum","hedera","hypercore","hyperevm","lightning","litecoin","monad","monero","optimism","plasma","polygon","robinhood","sei","solana","spark","tempo","ton","tron","xrp","zcash"],"isRequired":true,"uniqueKey":"feeAssetDetails.chain","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","isRequired":true,"uniqueKey":"feeAssetDetails.asset","typeLabel":"string"},"assetDisplayName":{"type":"string","isRequired":true,"uniqueKey":"feeAssetDetails.assetDisplayName","typeLabel":"string"},"assetDisplaySymbol":{"type":"string","isRequired":true,"uniqueKey":"feeAssetDetails.assetDisplaySymbol","typeLabel":"string"},"contractAddress":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"feeAssetDetails.contractAddress.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"feeAssetDetails.contractAddress.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"feeAssetDetails.contractAddress","typeLabel":"string | null"},"decimals":{"type":"integer","isRequired":true,"uniqueKey":"feeAssetDetails.decimals","typeLabel":"integer"},"chainId":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"feeAssetDetails.chainId.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"feeAssetDetails.chainId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"feeAssetDetails.chainId","typeLabel":"string | null"},"chainDisplayName":{"type":"string","isRequired":true,"uniqueKey":"feeAssetDetails.chainDisplayName","typeLabel":"string"},"chainIcon":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"feeAssetDetails.chainIcon.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"feeAssetDetails.chainIcon.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"feeAssetDetails.chainIcon","typeLabel":"string | null"},"tokenProgram":{"type":"string","enum":["erc20","spl","token-2022"],"uniqueKey":"feeAssetDetails.tokenProgram","typeLabel":"enum\u003cstring>"},"reviewedIdentity":{"type":"object","properties":{"version":{"type":"number","enum":[1],"isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.version","typeLabel":"enum\u003cnumber>"},"catalogVersion":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.catalogVersion","typeLabel":"string"},"chain":{"type":"string","enum":["solana","ethereum","bsc","arbitrum"],"isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.chain","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","minLength":1,"maxLength":32,"isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.asset","typeLabel":"string"},"address":{"type":"string","minLength":32,"maxLength":44,"isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.address","typeLabel":"string"},"decimals":{"type":"integer","minimum":0,"maximum":255,"isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.decimals","typeLabel":"integer"},"tokenProgram":{"type":"string","enum":["erc20","spl","token-2022"],"isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.tokenProgram","typeLabel":"enum\u003cstring>"},"mechanic":{"type":"string","enum":["standard","scaled-ui","rebasing","accumulating"],"isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.mechanic","typeLabel":"enum\u003cstring>"},"mechanicHash":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$","isRequired":true,"uniqueKey":"feeAssetDetails.reviewedIdentity.mechanicHash","typeLabel":"string"}},"required":["version","catalogVersion","chain","asset","address","decimals","tokenProgram","mechanic","mechanicHash"],"additionalProperties":false,"uniqueKey":"feeAssetDetails.reviewedIdentity","typeLabel":"object"},"assetIcon":{"type":"string","format":"uri","description":"Absolute https logo URL served from the asset registry. Absent when the asset has no registry logo; clients keep their bundled artwork.","uniqueKey":"feeAssetDetails.assetIcon","typeLabel":"string\u003curi>"},"listing":{"type":"string","enum":["listed","unlisted"],"description":"unlisted for a source or destination named by a token address the asset registry does not list; absent means listed. Unlisted details come from the token contract or mint and are display data only; asset and contractAddress are the canonical address, and a Solana mint carries tokenProgram.","uniqueKey":"feeAssetDetails.listing","typeLabel":"enum\u003cstring>"}},"required":["chain","asset","assetDisplayName","assetDisplaySymbol","contractAddress","decimals","chainId","chainDisplayName","chainIcon"],"additionalProperties":false,"uniqueKey":"feeAssetDetails","typeLabel":"object"},"feeAmountUsd":{"type":"string","uniqueKey":"feeAmountUsd","typeLabel":"string"},"totalFeeAmountUsd":{"type":"string","uniqueKey":"totalFeeAmountUsd","typeLabel":"string"},"minAmountOut":{"type":"string","description":"Unlisted destinations only: the least amount of the token, in its smallest units, the recipient receives when the swap succeeds. Enforced on chain at the recipient.","uniqueKey":"minAmountOut","typeLabel":"string"},"fallback":{"type":"object","properties":{"chain":{"type":"string","enum":["arbitrum","arc","avalanche","base","bitcoin","bsc","ethereum","hedera","hypercore","hyperevm","lightning","litecoin","monad","monero","optimism","plasma","polygon","robinhood","sei","solana","spark","tempo","ton","tron","xrp","zcash"],"isRequired":true,"uniqueKey":"fallback.chain","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","description":"Hub asset delivered instead of the token.","isRequired":true,"uniqueKey":"fallback.asset","typeLabel":"string"},"minAmount":{"type":"string","description":"Least amount of the hub the recipient receives, in its smallest units.","isRequired":true,"uniqueKey":"fallback.minAmount","typeLabel":"string"}},"required":["chain","asset","minAmount"],"additionalProperties":false,"description":"Unlisted destinations only: what the recipient receives if the swap into the token cannot deliver minAmountOut.","uniqueKey":"fallback","typeLabel":"object"}},"required":["estimatedOut","feeAmount","feeBps","feeAsset","route","source","destination"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"success":{"title":"success","value":{"amountMode":"exact_in","estimatedOut":"99000000","feeAmount":"500000","roundingFeeAmount":"0","totalFeeAmount":"500000","feeBps":50,"feeAsset":"USDC","route":["BTC","USDB","USDC"],"source":{"chain":"bitcoin","asset":"BTC","assetDisplayName":"Bitcoin","assetDisplaySymbol":"BTC","contractAddress":null,"decimals":8,"chainId":null,"chainDisplayName":"Bitcoin","chainIcon":"/btc.svg"},"destination":{"chain":"solana","asset":"USDC","assetDisplayName":"USDC","assetDisplaySymbol":"USDC","contractAddress":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","decimals":6,"chainId":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","chainDisplayName":"Solana","chainIcon":"/chain-solana.svg"}}}},"exampleType":"examples"}},"exampleType":"examples"},"f8b18dd4-0745-4b2a-a177-6fcfe94a1032":{"description":"Invalid request, unsupported route, or input outside amount bounds (`amount_too_small` / `amount_too_large`). With affiliateErrorMode=specific, registered affiliate lookup failures return affiliate_not_found or affiliate_disabled. A source or destination named by token address can also return invalid_token_address, token_not_found, token_unsupported (including a Solana mint with refused extensions), token_blocked, insufficient_liquidity (no route reaches or leaves the token), unsupported_amount_mode (exact_out and fixed delivery), amount_too_large (the order cap, valued in the hub the token is swapped with), or route_unavailable (chain or account not enabled for that end).","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"58b8f5d5-5ec3-4f26-bbf6-6cc0944213d2":{"description":"Sanctioned address or cached screening block","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"86bd1a68-5702-430f-b6cc-1313cee16f6b":{"description":"Rate limited (`rate_limited`); see the [rate-limits guide](/api/rate-limits). Retry after Retry-After seconds when present (per-key limiter only), otherwise at X-RateLimit-Reset, an absolute epoch timestamp in milliseconds; both limiters also return X-RateLimit-Limit and X-RateLimit-Remaining.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"70eabee9-ff9a-4ec0-ad54-917f8f9fae78":{"description":"Token metadata could not be read from the chain (`token_metadata_unavailable`); retry later.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2857dc8b-0bde-46ab-890c-a98ccbd886d5":{},"fd8703d8-20a6-4c7d-8acd-c0d1ec640d94":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Partner API key in the form `Authorization: Bearer fn_...`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"e7e15f1e-43d8-4a04-a08f-b8f090bb10d7":{"url":"https://orchestration.flashnet.xyz"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Partner API key in the form `Authorization: Bearer fn_...`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Partner API key in the form `Authorization: Bearer fn_...`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"https://orchestration.flashnet.xyz/openapi.json"},"subdomain":"flashnet-9a0adcc4","siteName":"Flashnet","title":"Estimate a swap - Flashnet","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-08T16:49:20.892Z","originalFileLocation":"api-reference/orchestration/estimate-a-swap.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=\"Indicative price for a route, no state created. Public. HyperCore source routes are unavailable until independent deposit verification is supported; HyperCore destinations remain supported.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Flashnet\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_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/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_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/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_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/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_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/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_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/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_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/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_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/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Estimate a swap - Flashnet\">\u003cmeta data-mint-head property=\"og:description\" content=\"Indicative price for a route, no state created. Public. HyperCore source routes are unavailable until independent deposit verification is supported; HyperCore destinations remain supported.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Flashnet\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.flashnet.xyz/api-reference/orchestration/estimate-a-swap\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://flashnet-9a0adcc4.mintlify.site/_mintlify/api/og/v2?division=Orchestration\u0026amp;title=Estimate+a+swap\u0026amp;description=Indicative+price+for+a+route%2C+no+state+created.+Public.+HyperCore+source+routes+are+unavailable+until+independent+deposit+verification+is+supported%3B+HyperCore+d\u0026amp;theme=43e4c259b58b8164b184f8a8\u0026amp;signature=72e65a415fe28b8c683d2d999b183ba72f19fe414ea3746c2ed3289b6188df01\">\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=\"Estimate a swap - Flashnet\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Indicative price for a route, no state created. Public. HyperCore source routes are unavailable until independent deposit verification is supported; HyperCore destinations remain supported.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://flashnet-9a0adcc4.mintlify.site/_mintlify/api/og/v2?division=Orchestration\u0026amp;title=Estimate+a+swap\u0026amp;description=Indicative+price+for+a+route%2C+no+state+created.+Public.+HyperCore+source+routes+are+unavailable+until+independent+deposit+verification+is+supported%3B+HyperCore+d\u0026amp;theme=43e4c259b58b8164b184f8a8\u0026amp;signature=72e65a415fe28b8c683d2d999b183ba72f19fe414ea3746c2ed3289b6188df01\">\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/flashnet-9a0adcc4/q5ll1kSaiuZZTpOQ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Flashnet\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#161514\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.flashnet.xyz/api-reference/orchestration/estimate-a-swap\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/orchestration/estimate-a-swap.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.flashnet.xyz/#organization\",\"name\":\"Flashnet\",\"url\":\"https://docs.flashnet.xyz\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/flashnet-9a0adcc4/m8v0Hva1Z08pPER3/logo/docs-light.svg?fit=max\u0026auto=format\u0026n=m8v0Hva1Z08pPER3\u0026q=85\u0026s=d4fecbaa9d67a76ffb1251ccec3ecbfd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.flashnet.xyz#website\",\"name\":\"Flashnet\",\"url\":\"https://docs.flashnet.xyz\",\"publisher\":{\"@id\":\"https://docs.flashnet.xyz/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.flashnet.xyz/api-reference/orchestration/estimate-a-swap#webpage\",\"url\":\"https://docs.flashnet.xyz/api-reference/orchestration/estimate-a-swap\",\"name\":\"Estimate a swap\",\"description\":\"Indicative price for a route, no state created. Public. HyperCore source routes are unavailable until independent deposit verification is supported; HyperCore destinations remain supported.\",\"dateModified\":\"2026-10-08T16:49:20.892Z\",\"isPartOf\":{\"@id\":\"https://docs.flashnet.xyz#website\"},\"breadcrumb\":{\"@id\":\"https://docs.flashnet.xyz/api-reference/orchestration/estimate-a-swap#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.flashnet.xyz/api-reference/orchestration/estimate-a-swap#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.flashnet.xyz/api-reference/orchestration/list-routes\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Orchestration\",\"item\":\"https://docs.flashnet.xyz/api-reference/orchestration/list-routes\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Estimate a swap\",\"item\":\"https://docs.flashnet.xyz/api-reference/orchestration/estimate-a-swap\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.flashnet.xyz/api-reference/orchestration/estimate-a-swap#apireference\",\"headline\":\"Estimate a swap\",\"name\":\"Estimate a swap\",\"description\":\"Indicative price for a route, no state created. Public. HyperCore source routes are unavailable until independent deposit verification is supported; HyperCore destinations remain supported.\",\"url\":\"https://docs.flashnet.xyz/api-reference/orchestration/estimate-a-swap\",\"mainEntityOfPage\":{\"@id\":\"https://docs.flashnet.xyz/api-reference/orchestration/estimate-a-swap#webpage\"},\"dateModified\":\"2026-10-08T16:49:20.892Z\",\"publisher\":{\"@id\":\"https://docs.flashnet.xyz/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.flashnet.xyz#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Flashnet\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Flashnet\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/orchestration/estimate-a-swap.md","siteName":"Flashnet","nav":{"global":null,"tabs":[{"tab":"Orchestra","pages":[{"title":"Orchestra","href":""}]},{"tab":"API Reference","groups":[{"group":"Get started","pages":[{"title":"API overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flashnet-9a0adcc4/assets/sidebar-icons/book-open.svg","href":"/api/overview"},{"title":"Authentication","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flashnet-9a0adcc4/assets/sidebar-icons/key.svg","href":"/api/authentication"},{"title":"Errors","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flashnet-9a0adcc4/assets/sidebar-icons/triangle-alert.svg","href":"/api/errors"},{"title":"Rate limits","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flashnet-9a0adcc4/assets/sidebar-icons/hourglass.svg","href":"/api/rate-limits"}]},{"group":"Endpoints","pages":[{"group":"Orchestration","expanded":true,"pages":[{"title":"List routes","sidebarTitle":"List routes","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v2/orchestration/routes","href":"/api-reference/orchestration/list-routes"},{"title":"Get route limits","sidebarTitle":"Get route limits","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/orchestration/limits","href":"/api-reference/orchestration/get-route-limits"},{"title":"Resolve a token address","sidebarTitle":"Resolve a token address","description":"What a token address on a chain is, and whether this caller may use it as a destination or source. Accepts an ERC-20 address on an EVM chain or an SPL mint on solana. A listed address returns its registry asset; any other token admitted at either end returns its on-chain metadata with listing unlisted, and destination and source say which ends this caller may use it at. Public, partner-aware, rate limited like estimate, and stores nothing.","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/orchestration/assets/resolve","href":"/api-reference/orchestration/resolve-a-token-address"},{"title":"Estimate a swap","sidebarTitle":"Estimate a swap","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/orchestration/estimate","href":"/api-reference/orchestration/estimate-a-swap"},{"title":"Create quote","sidebarTitle":"Create quote","description":"Firm price for 2 minutes plus a deposit address. Paying the address creates the order. Fresh quotes and successful idempotency replays screen the effective recipient, refund and fee addresses with Hermod; replays use frozen quote terms. Hermod starts in log-only mode and rejects hits with the existing sanctioned_address response only when enforcement is enabled. OFAC screening remains independently enforced. A screening rejection does not overwrite the successful quote or start a replacement quote. HyperCore source routes are unavailable until independent deposit verification is supported; HyperCore destinations remain supported.","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/orchestration/quote","href":"/api-reference/orchestration/create-quote"},{"title":"Create offramp quote","sidebarTitle":"Create offramp quote","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/orchestration/offramp","href":"/api-reference/orchestration/create-offramp-quote"},{"title":"Submit deposit proof","sidebarTitle":"Submit deposit proof","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/orchestration/submit","href":"/api-reference/orchestration/submit-deposit-proof"},{"title":"Create onramp order","sidebarTitle":"Create onramp order","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/orchestration/onramp","href":"/api-reference/orchestration/create-onramp-order"},{"title":"Get quote and order","sidebarTitle":"Get quote and order","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/orchestration/order","href":"/api-reference/orchestration/get-quote-and-order"},{"title":"Get order status","sidebarTitle":"Get order status","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/orchestration/status","href":"/api-reference/orchestration/get-order-status"},{"title":"List order history","sidebarTitle":"List order history","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/orchestration/history","href":"/api-reference/orchestration/list-order-history"},{"title":"Accept ZeroConf offer","sidebarTitle":"Accept ZeroConf offer","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/orchestration/zeroconf/accept","href":"/api-reference/orchestration/accept-zeroconf-offer"},{"title":"Decline ZeroConf offer","sidebarTitle":"Decline ZeroConf offer","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/orchestration/zeroconf/decline","href":"/api-reference/orchestration/decline-zeroconf-offer"}]},{"group":"Standing deposit addresses","pages":[{"title":"Register standing address","sidebarTitle":"Register standing address","openapi":"https://orchestration.flashnet.xyz/openapi.json PUT /v1/standing-deposit-addresses/{ref}","href":"/api-reference/standing-deposit-addresses/register-standing-address"},{"title":"Get standing address","sidebarTitle":"Get standing address","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/standing-deposit-addresses/{ref}","href":"/api-reference/standing-deposit-addresses/get-standing-address"},{"title":"Pause or resume conversion","sidebarTitle":"Pause or resume conversion","openapi":"https://orchestration.flashnet.xyz/openapi.json PATCH /v1/standing-deposit-addresses/{ref}","href":"/api-reference/standing-deposit-addresses/pause-or-resume-conversion"},{"title":"List deposits","sidebarTitle":"List deposits","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/standing-deposit-addresses/{ref}/deposits","href":"/api-reference/standing-deposit-addresses/list-deposits"},{"title":"Request deposit refund","sidebarTitle":"Request deposit refund","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/standing-deposit-addresses/{ref}/resolve","href":"/api-reference/standing-deposit-addresses/request-deposit-refund"},{"title":"Accept deposit ZeroConf offer","sidebarTitle":"Accept deposit ZeroConf offer","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/standing-deposit-addresses/{ref}/deposits/{depositId}/zeroconf/accept","href":"/api-reference/standing-deposit-addresses/accept-deposit-zeroconf-offer"},{"title":"Decline deposit ZeroConf offer","sidebarTitle":"Decline deposit ZeroConf offer","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/standing-deposit-addresses/{ref}/deposits/{depositId}/zeroconf/decline","href":"/api-reference/standing-deposit-addresses/decline-deposit-zeroconf-offer"}]},{"group":"Status delivery","pages":[{"title":"Webhook events","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flashnet-9a0adcc4/assets/sidebar-icons/bell.svg","href":"/api/webhook-events"},{"title":"SSE","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flashnet-9a0adcc4/assets/sidebar-icons/radio.svg","href":"/api/sse"},{"title":"Register webhook","sidebarTitle":"Register webhook","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/webhooks","href":"/api-reference/webhooks/register-webhook"},{"title":"List webhooks","sidebarTitle":"List webhooks","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Delete webhook","sidebarTitle":"Delete webhook","openapi":"https://orchestration.flashnet.xyz/openapi.json DELETE /v1/webhooks/{id}","href":"/api-reference/webhooks/delete-webhook"},{"title":"Register recovery webhook","sidebarTitle":"Register recovery webhook","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/webhooks/recovery","href":"/api-reference/webhooks/register-recovery-webhook"},{"title":"List recovery webhooks","sidebarTitle":"List recovery webhooks","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/webhooks/recovery","href":"/api-reference/webhooks/list-recovery-webhooks"},{"title":"Delete recovery webhook","sidebarTitle":"Delete recovery webhook","openapi":"https://orchestration.flashnet.xyz/openapi.json DELETE /v1/webhooks/recovery/{id}","href":"/api-reference/webhooks/delete-recovery-webhook"}]},{"group":"Pay links","pages":[{"title":"Pay links API","icon":"https://mintlify.s3.us-west-1.amazonaws.com/flashnet-9a0adcc4/assets/sidebar-icons/qr-code.svg","href":"/api/pay-links"}]},{"group":"Affiliates","pages":[{"title":"Upsert affiliate","sidebarTitle":"Upsert affiliate","openapi":"https://orchestration.flashnet.xyz/openapi.json PUT /v1/affiliates/{affiliateId}","href":"/api-reference/affiliates/upsert-affiliate"},{"title":"List affiliates","sidebarTitle":"List affiliates","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/affiliates","href":"/api-reference/affiliates/list-affiliates"},{"title":"Disable affiliate","sidebarTitle":"Disable affiliate","openapi":"https://orchestration.flashnet.xyz/openapi.json DELETE /v1/affiliates/{affiliateId}","href":"/api-reference/affiliates/disable-affiliate"},{"title":"Claim affiliate balance","sidebarTitle":"Claim affiliate balance","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/affiliates/{affiliateId}/claim","href":"/api-reference/affiliates/claim-affiliate-balance"},{"title":"List affiliate claims","sidebarTitle":"List affiliate claims","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/affiliates/{affiliateId}/claims","href":"/api-reference/affiliates/list-affiliate-claims"},{"title":"Get affiliate claim","sidebarTitle":"Get affiliate claim","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/affiliates/{affiliateId}/claims/{id}","href":"/api-reference/affiliates/get-affiliate-claim"}]},{"group":"Legacy","pages":[{"title":"Create accumulation address","sidebarTitle":"Create accumulation address","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/accumulation-addresses","href":"/api-reference/accumulation-addresses/create-accumulation-address"},{"title":"List accumulation addresses","sidebarTitle":"List accumulation addresses","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/accumulation-addresses","href":"/api-reference/accumulation-addresses/list-accumulation-addresses"},{"title":"Get accumulation address","sidebarTitle":"Get accumulation address","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/accumulation-addresses/{id}","href":"/api-reference/accumulation-addresses/get-accumulation-address"},{"title":"Delete accumulation address","sidebarTitle":"Delete accumulation address","openapi":"https://orchestration.flashnet.xyz/openapi.json DELETE /v1/accumulation-addresses/{id}","href":"/api-reference/accumulation-addresses/delete-accumulation-address"},{"title":"Reindex accumulation address","sidebarTitle":"Reindex accumulation address","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/accumulation-addresses/{idOrAddress}/reindex","href":"/api-reference/accumulation-addresses/reindex-accumulation-address"},{"title":"Sync accumulation webhooks","sidebarTitle":"Sync accumulation webhooks","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/accumulation-addresses/sync","href":"/api-reference/accumulation-addresses/sync-accumulation-webhooks"},{"title":"Create liquidation address","sidebarTitle":"Create liquidation address","openapi":"https://orchestration.flashnet.xyz/openapi.json POST /v1/liquidation-addresses","href":"/api-reference/liquidations/create-liquidation-address"},{"title":"List liquidation addresses","sidebarTitle":"List liquidation addresses","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/liquidation-addresses","href":"/api-reference/liquidations/list-liquidation-addresses"},{"title":"List liquidation orders","sidebarTitle":"List liquidation orders","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/liquidation-addresses/orders","href":"/api-reference/liquidations/list-liquidation-orders"},{"title":"Get liquidation address","sidebarTitle":"Get liquidation address","openapi":"https://orchestration.flashnet.xyz/openapi.json GET /v1/liquidation-addresses/{id}","href":"/api-reference/liquidations/get-liquidation-address"},{"title":"Delete liquidation address","sidebarTitle":"Delete liquidation address","openapi":"https://orchestration.flashnet.xyz/openapi.json DELETE /v1/liquidation-addresses/{id}","href":"/api-reference/liquidations/delete-liquidation-address"}]}]}]},{"tab":"USDB","pages":[{"title":"USDB","href":"/usdb/overview"}]}]},"basePath":"","title":"Estimate a swap - Flashnet","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CDiBsYGW.js","utils-KF9rPlmF.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C26urKTX.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BdjmJAC1.js","snippetPresets-3IpDBjt3.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-1CZdsdAn.js","ApiExamples-D4x_2vvo.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BIWdc5Pa.js","shallow-LQqfiMNd.js","getApiPlaygroundDisplay-DryzlOZG.js","CodeSnippet-tcJujU4r.js","CodeSnippets-BHp0nVLL.js","getPastedJson-DU-1ayUv.js","icon-CZK2hPr4.js","MethodPill-DOaqmTFC.js","DuplicateIcon-B5-nUxxl.js","createIcon-CDP_U77G.js","DynamicMarkdown-GHvayGOn.js","SectionHeading-BYvpkmUD.js","axios-vUo_bRtp.js","Markdown-uxhlayGT.js","clsx-B35qUV0p.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BvrGG8gU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CAf0yVYe.js"]}