1. POST /leokit/simple → Quotes Chainflip & NEAR, picks best, returns deposit + QR2. User scans QR or sends → Sends funds to the deposit address3. POST /leokit/status → Poll with quote_id for swap completion
Compared to the standard multi-step flow (/quote → /deposit), this reduces two API calls to one. Only works with deposit-address-based protocols (Chainflip and NEAR).
Unix timestamp (seconds) when the deposit channel expires.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"LeoKit Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"favicon":"https://mintcdn.com/leo-fd15e579/FFRM78pwDSfHuRKI/favicon.svg?fit=max\u0026auto=format\u0026n=FFRM78pwDSfHuRKI\u0026q=85\u0026s=d7dab39eedf44deb6cd5cbbaeefb125a","logo":{"light":"https://mintcdn.com/leo-fd15e579/FFRM78pwDSfHuRKI/images/leokit.svg?fit=max\u0026auto=format\u0026n=FFRM78pwDSfHuRKI\u0026q=85\u0026s=060864cd0d746e1831855e85ffe482ad","dark":"https://mintcdn.com/leo-fd15e579/FFRM78pwDSfHuRKI/images/leokit.svg?fit=max\u0026auto=format\u0026n=FFRM78pwDSfHuRKI\u0026q=85\u0026s=060864cd0d746e1831855e85ffe482ad"},"api":{"playground":{"display":"interactive"},"mdx":{"server":null,"auth":{"method":"key","name":"Api-Key"}}},"navbar":{"links":[{"label":"Support","href":"https://discord.gg/leofinance"}],"primary":{"type":"button","label":"Dashboard","href":"https://dash.leokit.dev"}},"footer":{"socials":{"x":"https://x.com/leofinanceio","github":"https://github.com/LeoFinance","discord":"https://discord.gg/leofinance"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"LeoKit Homepage","href":"https://leokit.dev","icon":"house"},{"anchor":"LeoDex Demo","href":"https://leodex.io","icon":"book-open"},{"anchor":"Blog","href":"https://leodex.io/blog","icon":"newspaper"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"leo-fd15e579","hasAudioNarration":false,"actualSubdomain":"leo-fd15e579","customDomains":["docs.leokit.dev"],"gitSource":{"type":"github","owner":"steemleo","repo":"docs","deployBranch":"main","isPrivate":true,"contentDirectory":"","mountPath":"","label":""},"entitlements":{},"buildId":"6aecec3e1f33815a81851423","clientVersion":"0.0.4087","searchFilterCounts":[{"language":"default","tag":"API Reference","count":37},{"language":"default","tag":"Endpoint Details","count":19},{"language":"default","tag":"Documentation","count":14},{"language":"default","tag":"Explorer API","count":10},{"language":"default","tag":"Core Endpoints","count":8},{"language":"default","tag":"Integration Guides","count":8},{"language":"default","tag":"Guides","count":7},{"language":"default","tag":"SDK","count":6},{"language":"default","tag":"SDK Reference","count":6},{"language":"default","tag":"Reference","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/endpoint/simple","slug":"/api-reference/endpoint/simple","pageMetadata":{"title":"Simple Swap","description":"One-call endpoint that quotes, generates deposit address, and returns a QR code","openapi":"/api-reference/openapi.json POST /simple","href":"/api-reference/endpoint/simple"},"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: \"One-call endpoint that quotes, generates deposit address, and returns a QR code\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How It Works`}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`1. POST /leokit/simple → Quotes Chainflip \u0026 NEAR, picks best, returns deposit + QR`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`2. User scans QR or sends → Sends funds to the deposit address`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`3. POST /leokit/status → Poll with quote_id for swap completion`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`Compared to the standard multi-step flow (`,_jsx(_components.code,{children:`/quote`}),` → `,_jsx(_components.code,{children:`/deposit`}),`), this reduces two API calls to one. Only works with deposit-address-based protocols (`,_jsx(_components.strong,{children:`Chainflip`}),` and `,_jsx(_components.strong,{children:`NEAR`}),`).`]}),`\n`,_jsx(Heading,{level:`2`,id:`payment-uri-standards`,children:`Payment URI Standards`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`payment_uri`}),` follows the wallet standard for the source chain:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Source Chain`}),_jsx(_components.th,{children:`Standard`}),_jsx(_components.th,{children:`Example`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`BTC, LTC, DOGE, DASH`}),_jsx(_components.td,{children:`BIP-21`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`bitcoin:bc1q...?amount=0.5`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`ETH, ARB, BASE (native)`}),_jsx(_components.td,{children:`EIP-681`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ethereum:0x...@1?value=500000000000000000`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`ETH, ARB, BASE (ERC20)`}),_jsx(_components.td,{children:`EIP-681`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`ethereum:0xTOKEN@1/transfer?address=0x...\u0026uint256=`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`SOL (native)`}),_jsx(_components.td,{children:`Solana Pay`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`solana:So1...?amount=2`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Other`}),_jsx(_components.td,{children:`Fallback`}),_jsx(_components.td,{children:`Plain deposit address`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`example-btc-to-eth`,children:`Example: BTC to ETH`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.leokit.dev/leokit/simple`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Api-Key: YOUR_API_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"from_asset\": \"BTC.BTC\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"to_asset\": \"ETH.ETH\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"amount\": \"0.01\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"from_address\": \"bc1q...\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"to_address\": \"0x1234567890AbcdEF1234567890aBcdef12345678\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Code`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_ASSET`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`from_asset`}),` or `,_jsx(_components.code,{children:`to_asset`}),` is malformed or not in the supported list`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_ADDRESS`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`from_address`}),` or `,_jsx(_components.code,{children:`to_address`}),` not valid for the source/destination chain`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`UNSUPPORTED_PAIR`})}),_jsx(_components.td,{children:`No deposit-address-based route (Chainflip/NEAR) available for the pair`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`401`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_API_KEY`})}),_jsxs(_components.td,{children:[`Missing or invalid `,_jsx(_components.code,{children:`Api-Key`}),` header`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`404`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`NO_QUOTE_AVAILABLE`})}),_jsx(_components.td,{children:`All deposit-address protocols rejected the pair`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`500`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`INTERNAL_ERROR`})}),_jsx(_components.td,{children:`Quote or deposit generation failed unexpectedly`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`See the `,_jsx(_components.a,{href:`/reference/error-codes`,children:`error codes catalog`}),` for the full list.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Simple Swap","description":"One-call endpoint that quotes, generates deposit address, and returns a QR code","openapi":"/api-reference/openapi.json POST /simple","href":"/api-reference/endpoint/simple"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"How It Works","slug":"how-it-works","depth":2,"children":[]},{"title":"Payment URI Standards","slug":"payment-uri-standards","depth":2,"children":[]},{"title":"Example: BTC to ETH","slug":"example-btc-to-eth","depth":2,"children":[]},{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Simple swap","description":"One-call endpoint that quotes, generates deposit address, and returns a QR code","requestBody":"7b521291-aa9d-4c8d-877a-aa850d4470dc","responses":{"200":"c5bf522c-c621-448e-ae9d-3d1b3f37e7e5","400":"cc4d10ac-5483-4ee6-ad3c-99ac71e600fe","404":"f3a3c11b-d8e2-4669-95c4-269aa3956106","default":"c6f049c2-dd6f-4b96-88a8-e84d36ccf712"},"method":"post","type":"path","servers":["8a559953-bf50-46e9-af25-7f1a8be174e5"],"security":["3b410c4f-fda3-4404-bd28-f2540a9d8349"],"path":"/simple","baseUrlOptions":["https://api.leokit.dev"],"title":"Simple swap","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Request body for /simple. One-call swap endpoint for deposit-address protocols.","required":["from_asset","to_asset","amount","from_address","to_address"],"properties":{"from_asset":{"type":"string","description":"Source asset identifier (CHAIN.SYMBOL-ADDRESS).","example":"ETH.ETH","isRequired":true,"uniqueKey":"from_asset","typeLabel":"string"},"to_asset":{"type":"string","description":"Destination asset identifier (CHAIN.SYMBOL-ADDRESS).","example":"ARB.USDC-0xaf88d065e77c8cC2239327C5EDb3A432268e5831","isRequired":true,"uniqueKey":"to_asset","typeLabel":"string"},"amount":{"type":"string","description":"Human-readable amount to swap.","example":"0.5","isRequired":true,"uniqueKey":"amount","typeLabel":"string"},"from_address":{"type":"string","description":"Sender address on the source chain (used as refund address).","example":"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0","isRequired":true,"uniqueKey":"from_address","typeLabel":"string"},"to_address":{"type":"string","description":"Recipient address on the destination chain.","example":"0x1234567890AbcdEF1234567890aBcdef12345678","isRequired":true,"uniqueKey":"to_address","typeLabel":"string"},"slippage_bps":{"type":"string","description":"Slippage tolerance in basis points. Defaults to 150 (1.5%).","example":"100","uniqueKey":"slippage_bps","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"from_asset":"ETH.ETH","to_asset":"ARB.USDC-0xaf88d065e77c8cC2239327C5EDb3A432268e5831","amount":"0.5","from_address":"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0","to_address":"0x1234567890AbcdEF1234567890aBcdef12345678","slippage_bps":"100"},"examples":{"Example":{"title":"Example","value":{"from_asset":"ETH.ETH","to_asset":"ARB.USDC-0xaf88d065e77c8cC2239327C5EDb3A432268e5831","amount":"0.5","from_address":"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0","to_address":"0x1234567890AbcdEF1234567890aBcdef12345678","slippage_bps":"100"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"c5bf522c-c621-448e-ae9d-3d1b3f37e7e5":{"description":"Simple swap response with quote, deposit address, and QR code.","content":{"application/json":{"schema":{"type":"object","description":"Response from /simple containing quote, deposit address, and QR code.","required":["quote_id","protocol","deposit_address","amount","amount_raw","decimals","from_asset","to_asset","network","expected_amount_out","payment_uri","qr_url"],"properties":{"quote_id":{"type":"string","format":"uuid","description":"Quote identifier for tracking via /status.","isRequired":true,"uniqueKey":"quote_id","typeLabel":"string\u003cuuid>"},"protocol":{"type":"string","enum":["chainflip","near"],"description":"Protocol selected (always chainflip or near).","isRequired":true,"uniqueKey":"protocol","typeLabel":"enum\u003cstring>"},"deposit_address":{"type":"string","description":"Address to send funds to.","isRequired":true,"uniqueKey":"deposit_address","typeLabel":"string"},"amount":{"type":"string","description":"Human-readable amount to send.","isRequired":true,"uniqueKey":"amount","typeLabel":"string"},"amount_raw":{"type":"string","description":"Amount in smallest unit (wei, sats, etc.).","isRequired":true,"uniqueKey":"amount_raw","typeLabel":"string"},"decimals":{"type":"integer","description":"Decimal places for the source asset.","isRequired":true,"uniqueKey":"decimals","typeLabel":"integer"},"from_asset":{"type":"string","description":"Source asset identifier.","isRequired":true,"uniqueKey":"from_asset","typeLabel":"string"},"to_asset":{"type":"string","description":"Destination asset identifier.","isRequired":true,"uniqueKey":"to_asset","typeLabel":"string"},"network":{"type":"string","description":"Source chain short name (e.g. ETH, BTC).","isRequired":true,"uniqueKey":"network","typeLabel":"string"},"expected_amount_out":{"type":"number","description":"Expected output amount (human-readable).","isRequired":true,"uniqueKey":"expected_amount_out","typeLabel":"number"},"payment_uri":{"type":"string","description":"Chain-specific payment URI (BIP-21, EIP-681, or Solana Pay).","isRequired":true,"uniqueKey":"payment_uri","typeLabel":"string"},"qr_url":{"type":"string","description":"CDN URL of a QR code PNG encoding the payment_uri.","isRequired":true,"uniqueKey":"qr_url","typeLabel":"string"},"expected_amount_out_usd":{"oneOf":[{"type":"number","description":"Expected output in USD.","uniqueKey":"expected_amount_out_usd.oneOf.0","typeLabel":"number"},{"type":"null","description":"Expected output in USD.","uniqueKey":"expected_amount_out_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"expected_amount_out_usd","typeLabel":"number | null"},"total_swap_seconds":{"oneOf":[{"type":"integer","description":"Estimated swap time in seconds.","uniqueKey":"total_swap_seconds.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Estimated swap time in seconds.","uniqueKey":"total_swap_seconds.oneOf.1","typeLabel":"null"}],"uniqueKey":"total_swap_seconds","typeLabel":"integer | null"},"fees":{"type":"array","description":"Fee breakdown.","items":{"type":"object","description":"A fee applied to the quote.","required":["type","asset","amount","usd"],"properties":{"type":{"type":"string","description":"Fee type (e.g., Network Fee, Outbound Fee, Affiliate Fee).","isRequired":true,"uniqueKey":"fees.items.[INDEX].type","typeLabel":"string"},"asset":{"type":"string","description":"Fee asset identifier.","isRequired":true,"uniqueKey":"fees.items.[INDEX].asset","typeLabel":"string"},"amount":{"type":"number","description":"Fee amount denominated in the fee asset.","isRequired":true,"uniqueKey":"fees.items.[INDEX].amount","typeLabel":"number"},"usd":{"oneOf":[{"type":"number","description":"Fee value in USD. Some protocols return this as a string.","isRequired":true,"uniqueKey":"fees.items.[INDEX].usd.oneOf.0","typeLabel":"number"},{"type":"string","description":"Fee value in USD. Some protocols return this as a string.","isRequired":true,"uniqueKey":"fees.items.[INDEX].usd.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"fees.items.[INDEX].usd","typeLabel":"number | string"}},"uniqueKey":"fees.items.[INDEX]","typeLabel":"object"},"uniqueKey":"fees","typeLabel":"object[]"},"expires_at":{"oneOf":[{"type":"integer","format":"int64","description":"Unix timestamp (seconds) when the deposit channel expires.","uniqueKey":"expires_at.oneOf.0","typeLabel":"integer\u003cint64>"},{"type":"null","format":"int64","description":"Unix timestamp (seconds) when the deposit channel expires.","uniqueKey":"expires_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"expires_at","typeLabel":"integer\u003cint64> | null"}},"uniqueKey":"","typeLabel":"object"},"example":{"quote_id":"01936b4a-7c8e-7890-abcd-ef1234567890","protocol":"chainflip","deposit_address":"0x8a3c1f2d4e5f67890abcdef1234567890abcdef1","amount":"0.5","amount_raw":"500000000000000000","decimals":18,"from_asset":"ETH.ETH","to_asset":"ARB.USDC-0xaf88d065e77c8cC2239327C5EDb3A432268e5831","network":"ETH","expected_amount_out":499.5,"expected_amount_out_usd":499.5,"total_swap_seconds":120,"fees":[{"type":"Network Fee","asset":"ETH","amount":0.001,"usd":2.5}],"payment_uri":"ethereum:0x8a3c1f2d4e5f67890abcdef1234567890abcdef1@1?value=500000000000000000","qr_url":"https://cdn.leokit.dev/qr/01936b4a-7c8e-7890-abcd-ef1234567890.png","expires_at":1707400000},"examples":{"Example":{"title":"Example","value":{"quote_id":"01936b4a-7c8e-7890-abcd-ef1234567890","protocol":"chainflip","deposit_address":"0x8a3c1f2d4e5f67890abcdef1234567890abcdef1","amount":"0.5","amount_raw":"500000000000000000","decimals":18,"from_asset":"ETH.ETH","to_asset":"ARB.USDC-0xaf88d065e77c8cC2239327C5EDb3A432268e5831","network":"ETH","expected_amount_out":499.5,"expected_amount_out_usd":499.5,"total_swap_seconds":120,"fees":[{"type":"Network Fee","asset":"ETH","amount":0.001,"usd":2.5}],"payment_uri":"ethereum:0x8a3c1f2d4e5f67890abcdef1234567890abcdef1@1?value=500000000000000000","qr_url":"https://cdn.leokit.dev/qr/01936b4a-7c8e-7890-abcd-ef1234567890.png","expires_at":1707400000}}},"exampleType":"examples"}},"exampleType":"examples"},"cc4d10ac-5483-4ee6-ad3c-99ac71e600fe":{"description":"Missing required parameters","content":{"application/json":{"schema":{"type":"object","description":"Generic error payload.","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"message":"Missing required params: from_asset, to_asset, amount, from_address, to_address","code":"MISSING_PARAMS"},"examples":{"Example":{"title":"Example","value":{"message":"Missing required params: from_asset, to_asset, amount, from_address, to_address","code":"MISSING_PARAMS"}}},"exampleType":"examples"}},"exampleType":"examples"},"f3a3c11b-d8e2-4669-95c4-269aa3956106":{"description":"No quotes available from Chainflip or NEAR","content":{"application/json":{"schema":{"type":"object","description":"Generic error payload.","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"message":"No quotes available for this pair","code":"NO_QUOTES"},"examples":{"Example":{"title":"Example","value":{"message":"No quotes available for this pair","code":"NO_QUOTES"}}},"exampleType":"examples"}},"exampleType":"examples"},"c6f049c2-dd6f-4b96-88a8-e84d36ccf712":{"description":"Error response","content":{"application/json":{"schema":{"type":"object","description":"Generic error payload.","properties":{"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"3b410c4f-fda3-4404-bd28-f2540a9d8349":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"Api-Key","description":"Demo API-Key (Sandbox): 7037d2b3-9c76-4f62-b730-c544f7570fa4","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"8a559953-bf50-46e9-af25-7f1a8be174e5":{"url":"https://api.leokit.dev","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Api-Key","description":"Demo API-Key (Sandbox): 7037d2b3-9c76-4f62-b730-c544f7570fa4","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"Api-Key","type":"string","description":"Demo API-Key (Sandbox): 7037d2b3-9c76-4f62-b730-c544f7570fa4","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"Api-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"leo-fd15e579","siteName":"LeoKit Documentation","title":"Simple Swap - LeoKit Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-28T16:56:12.441Z","originalFileLocation":"api-reference/endpoint/simple.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"One-call endpoint that quotes, generates deposit address, and returns a QR code\">\u003cmeta data-mint-head name=\"application-name\" content=\"LeoKit Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/leo-fd15e579/R9yEYbn0m0OCKbJv/_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/leo-fd15e579/R9yEYbn0m0OCKbJv/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/leo-fd15e579/R9yEYbn0m0OCKbJv/_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/leo-fd15e579/R9yEYbn0m0OCKbJv/_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/leo-fd15e579/R9yEYbn0m0OCKbJv/_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/leo-fd15e579/R9yEYbn0m0OCKbJv/_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/leo-fd15e579/R9yEYbn0m0OCKbJv/_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/leo-fd15e579/R9yEYbn0m0OCKbJv/_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/leo-fd15e579/R9yEYbn0m0OCKbJv/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Simple Swap - LeoKit Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"One-call endpoint that quotes, generates deposit address, and returns a QR code\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"LeoKit Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.leokit.dev/api-reference/endpoint/simple\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://leo-fd15e579.mintlify.site/_mintlify/api/og/v2?division=Endpoint+Details\u0026amp;title=Simple+Swap\u0026amp;description=One-call+endpoint+that+quotes%2C+generates+deposit+address%2C+and+returns+a+QR+code\u0026amp;theme=5b2081a8ada1c97c5313c841\u0026amp;signature=be48abe38f04186a0eef2f4716671ab27aa2f78657d7d56f8ac8b304a674d3a4\">\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=\"Simple Swap - LeoKit Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"One-call endpoint that quotes, generates deposit address, and returns a QR code\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://leo-fd15e579.mintlify.site/_mintlify/api/og/v2?division=Endpoint+Details\u0026amp;title=Simple+Swap\u0026amp;description=One-call+endpoint+that+quotes%2C+generates+deposit+address%2C+and+returns+a+QR+code\u0026amp;theme=5b2081a8ada1c97c5313c841\u0026amp;signature=be48abe38f04186a0eef2f4716671ab27aa2f78657d7d56f8ac8b304a674d3a4\">\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/leo-fd15e579/R9yEYbn0m0OCKbJv/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"LeoKit Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.leokit.dev/api-reference/endpoint/simple\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/simple.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.leokit.dev/#organization\",\"name\":\"LeoKit Documentation\",\"url\":\"https://docs.leokit.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/leo-fd15e579/FFRM78pwDSfHuRKI/images/leokit.svg?fit=max\u0026auto=format\u0026n=FFRM78pwDSfHuRKI\u0026q=85\u0026s=060864cd0d746e1831855e85ffe482ad\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.leokit.dev#website\",\"name\":\"LeoKit Documentation\",\"url\":\"https://docs.leokit.dev\",\"publisher\":{\"@id\":\"https://docs.leokit.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.leokit.dev/api-reference/endpoint/simple#webpage\",\"url\":\"https://docs.leokit.dev/api-reference/endpoint/simple\",\"name\":\"Simple Swap\",\"description\":\"One-call endpoint that quotes, generates deposit address, and returns a QR code\",\"dateModified\":\"2026-04-28T16:56:12.441Z\",\"isPartOf\":{\"@id\":\"https://docs.leokit.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.leokit.dev/api-reference/endpoint/simple#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.leokit.dev/api-reference/endpoint/simple#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoint Details\",\"item\":\"https://docs.leokit.dev/api-reference/endpoint/get-quote\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Simple Swap\",\"item\":\"https://docs.leokit.dev/api-reference/endpoint/simple\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.leokit.dev/api-reference/endpoint/simple#apireference\",\"headline\":\"Simple Swap\",\"name\":\"Simple Swap\",\"description\":\"One-call endpoint that quotes, generates deposit address, and returns a QR code\",\"url\":\"https://docs.leokit.dev/api-reference/endpoint/simple\",\"mainEntityOfPage\":{\"@id\":\"https://docs.leokit.dev/api-reference/endpoint/simple#webpage\"},\"dateModified\":\"2026-04-28T16:56:12.441Z\",\"publisher\":{\"@id\":\"https://docs.leokit.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.leokit.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"LeoKit Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"LeoKit Documentation","nav":{"global":{"anchors":[{"anchor":"LeoKit Homepage","href":"https://leokit.dev","icon":"house"},{"anchor":"LeoDex Demo","href":"https://leodex.io","icon":"book-open"},{"anchor":"Blog","href":"https://leodex.io/blog","icon":"newspaper"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/integrating"}]},{"tab":"API Reference","groups":[{"group":"Core Endpoints","pages":[{"title":"API Introduction","href":"/api-reference/introduction"},{"title":"Quote Endpoints","href":"/api-reference/quotes"},{"title":"Deposit Generation","href":"/api-reference/deposits"},{"title":"Transaction Management","href":"/api-reference/transactions"},{"title":"Assets \u0026 Balances","href":"/api-reference/assets-balances"},{"title":"Gas Prices","href":"/api-reference/gas-prices"},{"title":"Analytics","openapi":"/api-reference/openapi.json GET /analytics","href":"/api-reference/analytics"},{"title":"Webhooks","href":"/api-reference/webhooks"}]},{"group":"Endpoint Details","pages":[{"title":"Get Quote","openapi":"/api-reference/openapi.json GET /quote","href":"/api-reference/endpoint/get-quote"},{"title":"Streaming Quotes","openapi":"/api-reference/openapi.json GET /streaming-quotes","href":"/api-reference/endpoint/streaming-quotes"},{"title":"Generate Deposit","openapi":"/api-reference/openapi.json POST /deposit","href":"/api-reference/endpoint/generate-deposit"},{"title":"Deposit Address","description":"Get a deposit address with QR code for Chainflip or NEAR protocols (auto-selected if not specified)","openapi":"/api-reference/openapi.json POST /deposit-address","href":"/api-reference/endpoint/deposit-address"},{"title":"Simple Swap","openapi":"/api-reference/openapi.json POST /simple","href":"/api-reference/endpoint/simple"},{"title":"Notify Deposit","description":"Notify NEAR 1Click API about completed deposits for faster swap processing","openapi":"/api-reference/openapi.json POST /notify-deposit","href":"/api-reference/endpoint/notify-deposit"},{"title":"Broadcast Transaction","openapi":"/api-reference/openapi.json POST /broadcast","href":"/api-reference/endpoint/broadcast"},{"title":"Transaction Status","openapi":"/api-reference/openapi.json POST /status","href":"/api-reference/endpoint/transaction-status"},{"title":"Save Transaction","openapi":"/api-reference/openapi.json POST /save-transaction","href":"/api-reference/endpoint/save-transaction"},{"title":"List Routes","openapi":"/api-reference/openapi.json GET /routes","href":"/api-reference/endpoint/routes"},{"title":"Assets","openapi":"/api-reference/openapi.json GET /assets","href":"/api-reference/endpoint/assets"},{"title":"Assets v2 (Compact Binary)","openapi":"/api-reference/openapi.json GET /v2/assets","href":"/api-reference/endpoint/v2-assets"},{"title":"Balances","openapi":"/api-reference/openapi.json POST /balances","href":"/api-reference/endpoint/balances"},{"title":"Gas Price","openapi":"/api-reference/openapi.json GET /gas-price/{asset}","href":"/api-reference/endpoint/gas-price"},{"title":"CoinJoin Queues (Dash)","openapi":"/api-reference/openapi.json GET /coinjoin/queues","href":"/api-reference/endpoint/coinjoin-queues"},{"title":"Register Webhook","openapi":"/api-reference/openapi.json POST /webhooks","href":"/api-reference/endpoint/webhook-create"},{"title":"List Webhooks","openapi":"/api-reference/openapi.json GET /webhooks","href":"/api-reference/endpoint/webhook-list"},{"title":"Delete Webhook","openapi":"/api-reference/openapi.json DELETE /webhooks","href":"/api-reference/endpoint/webhook-delete"},{"title":"Trace","openapi":"/api-reference/openapi.json GET /trace/{traceId}","href":"/api-reference/endpoint/trace"}]},{"group":"Explorer API","pages":[{"title":"Explorer API Overview","href":"/api-reference/explorer/overview"},{"title":"Search","openapi":"/api-reference/openapi.json GET /explorer/search","href":"/api-reference/explorer/search"},{"title":"Stats","openapi":"/api-reference/openapi.json GET /explorer/stats","href":"/api-reference/explorer/stats"},{"title":"Analytics","openapi":"/api-reference/openapi.json GET /explorer/analytics","href":"/api-reference/explorer/analytics"},{"title":"Transactions","openapi":"/api-reference/openapi.json GET /explorer/transactions","href":"/api-reference/explorer/transactions"},{"title":"Transaction Detail","openapi":"/api-reference/openapi.json GET /explorer/tx/{id}","href":"/api-reference/explorer/tx"},{"title":"Wallet","openapi":"/api-reference/openapi.json GET /explorer/wallet/{addr}","href":"/api-reference/explorer/wallet"},{"title":"Pools","openapi":"/api-reference/openapi.json GET /explorer/pools","href":"/api-reference/explorer/pools"},{"title":"NEAR Earnings","openapi":"/api-reference/openapi.json GET /explorer/near-earnings","href":"/api-reference/explorer/near-earnings"},{"title":"Onchain Lookup","openapi":"/api-reference/openapi.json GET /explorer/onchain/{chain}/{hash}","href":"/api-reference/explorer/onchain"}]}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/sdk/getting-started"}]}]},"basePath":"","title":"Simple Swap - LeoKit Documentation","buildId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","deploymentId":"dpl_FWZhTb2vab28gFGFH4ojka6qEznQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CBsVopKK.js","utils-DZAk68jJ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D32AYZrP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D_A5_cny.js","snippetPresets-xNRfS9th.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BIB25-tq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CydJ4w4j.js","shallow-CYPBeQSG.js","getApiPlaygroundDisplay-A5xJVBOu.js","CodeSnippet-BVRTgi3m.js","CodeSnippets-DjD6BSlt.js","Page-Dr40SSJq.js","getPastedJson-D4V4JyrR.js","icon-uhcnG22T.js","MethodPill-CM-ZQdGH.js","DuplicateIcon-B_WnOiNf.js","createIcon-CJsb8utt.js","DynamicMarkdown-D-2HDKEp.js","SectionHeading-KP5xmMgQ.js","axios-vUo_bRtp.js","Markdown-D_k0dg6k.js","clsx-DK3K4Z1S.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DE3EVdvd.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fN9H9n9g.js"]}