Using this endpoint, you can get the deposit data required to perform a manual transfer to a selected deposit-based provider. The response includes the depositAddress, amountToSend, exchangeId, and optional extraFields, which can be used to manually send funds from the wallet. This data is generated based on the route selected in the previous step and is intended for providers that require a direct deposit instead of an on-chain swap transaction.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Rubic Documentation","colors":{"primary":"#00e28e","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/rubic-6226db21/cPgsHa9BYUYbp7_c/logo/rubic-logo-light.svg?fit=max\u0026auto=format\u0026n=cPgsHa9BYUYbp7_c\u0026q=85\u0026s=a8200366272cc20dd0f104d7c91b826a","dark":"https://mintcdn.com/rubic-6226db21/cPgsHa9BYUYbp7_c/logo/rubic-logo-dark.svg?fit=max\u0026auto=format\u0026n=cPgsHa9BYUYbp7_c\u0026q=85\u0026s=dfb5e15ec60bf6e27d086a45652b53e6"},"favicon":"https://mintcdn.com/rubic-6226db21/xACtzpQBWG7cN0dE/favicon.ico?fit=max\u0026auto=format\u0026n=xACtzpQBWG7cN0dE\u0026q=85\u0026s=c2e90c39d5731e07871e7594b8ee8def","navbar":{"links":[],"primary":{"type":"button","label":"Contact BD","href":"https://t.me/RubicPartnership"}},"footer":{"socials":{"x":"https://x.com/CryptoRubic","github":"https://github.com/Cryptorubic","linkedin":"https://www.linkedin.com/company/cryptorubic","discord":"https://discord.com/invite/7EYzPbWKFQ"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rubic-6226db21","hasAudioNarration":false,"actualSubdomain":"rubic-6226db21","customDomains":["docs.rubic.finance"],"gitSource":{"type":"github","owner":"cryptorubic","repo":"docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ac64a0c6e6d52ea8052f799","collectionId":"fa4fc277-a3a8-472b-a9eb-7745e13d9828","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ac64a0c6e6d52ea8052f799"},"entitlements":{},"buildId":"6ac64a0c6e6d52ea8052f799","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"API Documentation","count":34},{"language":"default","tag":"Overview","count":17},{"language":"default","tag":"General","count":10},{"language":"default","tag":"SDK Documentation","count":10},{"language":"default","tag":"Rubic","count":10},{"language":"default","tag":"About","count":9},{"language":"default","tag":"Integration Examples","count":6},{"language":"default","tag":"Router","count":6},{"language":"default","tag":"Utility","count":6},{"language":"default","tag":"Core concepts","count":3}]},"assistantConfig":{},"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":"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":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/router/get-swap-data-via-deposit","slug":"/api-reference/router/get-swap-data-via-deposit","pageMetadata":{"title":"Get swap data via deposit","description":"Using this endpoint, you can get the deposit data required to perform a manual transfer to a selected deposit-based provider. The response includes the depositAddress, amountToSend, exchangeId, and optional extraFields, which can be used to manually send funds from the wallet. This data is generated based on the route selected in the previous step and is intended for providers that require a direct deposit instead of an on-chain swap transaction.","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/swapDepositTrade","href":"/api-reference/router/get-swap-data-via-deposit","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Using this endpoint, you can get the deposit data required to perform a manual transfer to a selected deposit-based provider. The response includes the depositAddress, amountToSend, exchangeId, and optional extraFields, which can be used to manually send funds from the wallet. This data is generated based on the route selected in the previous step and is intended for providers that require a direct deposit instead of an on-chain swap transaction.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get swap data via deposit","description":"Using this endpoint, you can get the deposit data required to perform a manual transfer to a selected deposit-based provider. The response includes the depositAddress, amountToSend, exchangeId, and optional extraFields, which can be used to manually send funds from the wallet. This data is generated based on the route selected in the previous step and is intended for providers that require a direct deposit instead of an on-chain swap transaction.","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/swapDepositTrade","href":"/api-reference/router/get-swap-data-via-deposit","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"RouterController_getSwapDepositTrade","summary":"Get swap data via deposit","description":"Using this endpoint, you can get the deposit data required to perform a manual transfer to a selected deposit-based provider. The response includes the depositAddress, amountToSend, exchangeId, and optional extraFields, which can be used to manually send funds from the wallet. This data is generated based on the route selected in the previous step and is intended for providers that require a direct deposit instead of an on-chain swap transaction.","parameters":[],"requestBody":"00eb8ad6-0201-49a2-b4fc-bccc73cd5e36","responses":{"200":"5252bd27-7c3a-45bb-8b40-f65161b240cb","default":"65df317c-48a8-4f45-b705-4e648494c9bd"},"tags":["Router"],"method":"post","type":"path","servers":["f5ccff6f-a36c-4182-88b6-d14f35b027ce"],"security":[],"path":"/api/routes/swapDepositTrade","baseUrlOptions":["https://api-v2.rubic.exchange"],"title":"Get swap data via deposit","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"srcTokenAddress":{"type":"string","description":"Destination token blockchain","isRequired":true,"uniqueKey":"srcTokenAddress","typeLabel":"string"},"dstTokenBlockchain":{"type":"string","description":"Destination token blockchain","default":"POLYGON","enum":["MUMBAI","BSCT","GOERLI","FUJI","SCROLL_SEPOLIA","ARTHERA","SEPOLIA","BERACHAIN_TESTNET","BLAST_TESTNET","HOLESKY","UNICHAIN_SEPOLIA_TESTNET","ETH","BSC","POLYGON","AVALANCHE","MOONRIVER","FANTOM","HARMONY","ARBITRUM","AURORA","TELOS","OPTIMISM","CRONOS","OKX","GNOSIS","FUSE","MOONBEAM","CELO","BOBA","BOBA_BSC","ASTAR_EVM","KAVA","BITGERT","OASIS","METIS","DEFIKINGDOMS","KLAYTN","VELAS","SYSCOIN","ETHEREUM_CLASSIC","FLARE","IOTEX","THETA","ZK_SYNC","PULSECHAIN","LINEA","BASE","MANTLE","MANTA_PACIFIC","SCROLL","ZETACHAIN","BLAST","HORIZEN_EON","MERLIN","ROOTSTOCK","MODE","ZK_FAIR","ZK_LINK","XLAYER","TAIKO","SEI","CORE","BAHAMUT","BITLAYER","GRAVITY","FRAXTAL","BERACHAIN","SONEIUM","UNICHAIN","MORPH","HEMI","PLASMA","MONAD","HYPER_EVM","MEGAETH","ROBINHOOD","BITCOIN_CASH","NEAR","ICP","CARDANO","AION","ALGORAND","APTOS","ARDOR","ARK","ASTAR","COSMOS","BAND_PROTOCOL","BITCOIN_DIAMOND","BSV","BITCOIN_GOLD","CASPER","DASH","DECRED","DIGI_BYTE","DIVI","DOGECOIN","POLKADOT","MULTIVERS_X","FIO_PROTOCOL","FIRO","FLOW","HEDERA","HELIUM","ICON","IOST","IOTA","KADENA","KOMODO","KUSAMA","LISK","LITECOIN","TERRA","TERRA_CLASSIC","MINA_PROTOCOL","NANO","NEO","OSMOSIS","PIVX","POLYX","QTUM","THOR_CHAIN","RAVENCOIN","SIA","SECRET","STEEM","STRATIS","STACKS","SOLAR","VE_CHAIN","WAVES","WAX","DX_CHAIN","E_CASH","NEM","STELLAR","MONERO","RIPPLE","TEZOS","VERGE","SYMBOL","ZCASH","HORIZEN","ZILLIQA","KAVA_COSMOS","FILECOIN","EOS","ONTOLOGY","XDC","STARKNET","TON","SOLANA","BITCOIN","TRON","SUI"],"isRequired":true,"uniqueKey":"dstTokenBlockchain","typeLabel":"enum\u003cstring>"},"srcTokenBlockchain":{"type":"string","description":"Source token blockchain","default":"ETH","enum":["MUMBAI","BSCT","GOERLI","FUJI","SCROLL_SEPOLIA","ARTHERA","SEPOLIA","BERACHAIN_TESTNET","BLAST_TESTNET","HOLESKY","UNICHAIN_SEPOLIA_TESTNET","ETH","BSC","POLYGON","AVALANCHE","MOONRIVER","FANTOM","HARMONY","ARBITRUM","AURORA","TELOS","OPTIMISM","CRONOS","OKX","GNOSIS","FUSE","MOONBEAM","CELO","BOBA","BOBA_BSC","ASTAR_EVM","KAVA","BITGERT","OASIS","METIS","DEFIKINGDOMS","KLAYTN","VELAS","SYSCOIN","ETHEREUM_CLASSIC","FLARE","IOTEX","THETA","ZK_SYNC","PULSECHAIN","LINEA","BASE","MANTLE","MANTA_PACIFIC","SCROLL","ZETACHAIN","BLAST","HORIZEN_EON","MERLIN","ROOTSTOCK","MODE","ZK_FAIR","ZK_LINK","XLAYER","TAIKO","SEI","CORE","BAHAMUT","BITLAYER","GRAVITY","FRAXTAL","BERACHAIN","SONEIUM","UNICHAIN","MORPH","HEMI","PLASMA","MONAD","HYPER_EVM","MEGAETH","ROBINHOOD","BITCOIN_CASH","NEAR","ICP","CARDANO","AION","ALGORAND","APTOS","ARDOR","ARK","ASTAR","COSMOS","BAND_PROTOCOL","BITCOIN_DIAMOND","BSV","BITCOIN_GOLD","CASPER","DASH","DECRED","DIGI_BYTE","DIVI","DOGECOIN","POLKADOT","MULTIVERS_X","FIO_PROTOCOL","FIRO","FLOW","HEDERA","HELIUM","ICON","IOST","IOTA","KADENA","KOMODO","KUSAMA","LISK","LITECOIN","TERRA","TERRA_CLASSIC","MINA_PROTOCOL","NANO","NEO","OSMOSIS","PIVX","POLYX","QTUM","THOR_CHAIN","RAVENCOIN","SIA","SECRET","STEEM","STRATIS","STACKS","SOLAR","VE_CHAIN","WAVES","WAX","DX_CHAIN","E_CASH","NEM","STELLAR","MONERO","RIPPLE","TEZOS","VERGE","SYMBOL","ZCASH","HORIZEN","ZILLIQA","KAVA_COSMOS","FILECOIN","EOS","ONTOLOGY","XDC","STARKNET","TON","SOLANA","BITCOIN","TRON","SUI"],"isRequired":true,"uniqueKey":"srcTokenBlockchain","typeLabel":"enum\u003cstring>"},"srcTokenAmount":{"type":"string","description":"Source token amount with decimals","example":"1.05","isRequired":true,"uniqueKey":"srcTokenAmount","typeLabel":"string"},"dstTokenAddress":{"type":"string","description":"Destination token address","example":"0x0000000000000000000000000000000000000000","isRequired":true,"uniqueKey":"dstTokenAddress","typeLabel":"string"},"receiver":{"type":"string","description":"Wallet address to send tokens to on the destination blockchain","default":"","isRequired":true,"uniqueKey":"receiver","typeLabel":"string"},"referrer":{"type":"object","description":"Referrer address","example":"rubic.exchange","default":"rubic.exchange","isRequired":true,"uniqueKey":"referrer","typeLabel":"object"},"id":{"type":"string","description":"Id of the calculated trade","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"nativeBlacklist":{"description":"Native provider-calculation to exclude from calculation","default":[],"type":"array","items":{"type":"string","uniqueKey":"nativeBlacklist.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nativeBlacklist","typeLabel":"string[]"},"fromAddress":{"type":"string","description":"Wallet address to send funds from","uniqueKey":"fromAddress","typeLabel":"string"},"integratorAddress":{"type":"string","description":"Integrator address to set fees","uniqueKey":"integratorAddress","typeLabel":"string"},"slippage":{"type":"number","description":"Slippage tolerance in percents for trade","example":0.02,"maximum":0.5,"uniqueKey":"slippage","typeLabel":"number"},"preferredProvider":{"type":"string","description":"Preferred provider for calculation","enum":["symbiosis","lifi","dln","bridgers","multichain","xy","celer_bridge","changenow","stargate_v2","arbitrum","squidrouter","scroll_bridge","taiko_bridge","rango","pulsechain_bridge","orbiter_bridge","orbiter_bridge_v2","owl_to_bridge","layerzero","archon_bridge","meson","eddy_bridge","router","retro_bridge","across","unizen","simple_swap","changelly","tele_swap","wanchain_bridge","relay","xflows","wormhole","exolix","near_intents","usdt_zero_bridge","houdini_bridge","quickex","rubic_stellar_api","pact_swap","stealthex","mayan","clearswap_bridge","instaswap","baltex","change_hero","xgram","the_change","cce_cash","10K_SWAP","AERODROME","ACRYPTOS","ALDRIN_EXCHANGE","ALGEBRA","ALGEBRA_INTEGRAL","ANNEX","APE_SWAP","ARTH_SWAP","ASTRO_SWAP","ASCENT","AURORA_SWAP","AVNU","AETHON_SWAP","ATLANTIS","AQUARIUS","BABY_SWAP","BALANCER","BASE_SWAP","BEAM_SWAP","BI_SWAP","BRIDGERS","BLAZE_SWAP","BULBA_SWAP","CAMELOT","CETUS","CHERRY_SWAP","CLAIM_SWAP","CLEARSWAP","COFFEE_SWAP","CREMA_FINANCE","CRO_SWAP","CRONA_SWAP","CROPPER_FINANCE","CROW_FI","CRO_DEX","CURVE","CLOBER","DEDUST","DEFI_PLAZA","DEFI_SWAP","DFLOW","DFYN","DLN","DODO","DRAGON_SWAP","DYSTOPIA","ECHO_DEX","EDDY_FINANCE","ELK","ENOSYS","ENOSYS_V3","FENIX_V2","FENIX_V3","FINKUJIRA","FUSIONX","FRAX_SWAP_V2","HONEY_SWAP","HORIZONDEX","HOUDINI","HYPERCAT","JET_SWAP","JOE","JUPITER","JUPITER_SWAP","J_SWAP","KIM","KODIAK","KUJATA","KYBER_SWAP","KYO_FINANCE","LUA_SWAP","LIFI","MACARON","MAVERICK","MDEX","MERLIN_SWAP","MESH_SWAP","MM_FINANCE","MOJITO_SWAP","MUTE_SWAP","NET_SWAP","NATIVE_ROUTER","ODOS","OKC_SWAP","OKU_SWAP","ONE_INCH","ONE_MOON","ONE_SOL","OMNIDEX","OOLONG_SWAP","OPEN_OCEAN","ORCA_SWAP","OSMOSIS_SWAP","OCTO_SWAP","PANCAKE_SWAP","PANCAKE_SWAP_V3","PANGOLIN","PARA_SWAP","PEGASYS","PHOTON_SWAP","POLYDEX","PITEAS","QUICK_SWAP","QUICK_SWAP_V3","PULSEX_V1","PULSEX_V2","RANGO","RAYDIUM","REF_FINANCE","REN_BTC","ROUTER_SWAP","RUBIC_STELLAR_API","SABER_STABLE_SWAP","SAROS_SWAP","SERUM","SHIBA_SWAP","SILK_SWAP","SMOOTHY","SOLANA","SOLAR_BEAM","SPACEFI_SWAP","SPIRIT_SWAP","SPL_TOKEN_SWAP","SPOOKY_SWAP","SOUL_SWAP","STELLA_SWAP","STONFI","SUN_SWAP","SURFDEX","SUSHI_SWAP","SYNAPSE","SYNC_SWAP","SPARK_DEX","SPARK_DEX_V3","SQUIDROUTER","SYMBIOSIS_SWAP","SOROSWAP","TONCO_DEX","TRADER","TRISOLARIS","IZUMI","UBE_SWAP","UNISWAP_V2","UNI_SWAP_V3","UNIZEN","VERSE","VIPER_SWAP","VOLTAGE_SWAP","VOOI","VVS_FINANCE","WAGYU_SWAP","WANNA_SWAP","WAULT_SWAP","WOO_FI","WRAPPED","WYND","WARPX_V2","WARPX_V3","XY_DEX","YUZU_SWAP","ZAPPY","ZIP_SWAP","ZRX","ZETA_SWAP"],"uniqueKey":"preferredProvider","typeLabel":"enum\u003cstring>"},"foreignBlacklist":{"type":"object","description":"Foreign provider-calculation to exclude from calculation","default":{"dflow":[],"lifi":[],"rango":[],"zerox":[]},"properties":{"lifi":{"type":"array","items":{"type":"string","uniqueKey":"foreignBlacklist.lifi.items.[INDEX]","typeLabel":"string"},"uniqueKey":"foreignBlacklist.lifi","typeLabel":"string[]"},"rango":{"type":"array","items":{"type":"string","uniqueKey":"foreignBlacklist.rango.items.[INDEX]","typeLabel":"string"},"uniqueKey":"foreignBlacklist.rango","typeLabel":"string[]"},"zerox":{"type":"array","items":{"type":"string","uniqueKey":"foreignBlacklist.zerox.items.[INDEX]","typeLabel":"string"},"uniqueKey":"foreignBlacklist.zerox","typeLabel":"string[]"},"dflow":{"type":"array","items":{"type":"string","uniqueKey":"foreignBlacklist.dflow.items.[INDEX]","typeLabel":"string"},"uniqueKey":"foreignBlacklist.dflow","typeLabel":"string[]"}},"uniqueKey":"foreignBlacklist","typeLabel":"object"},"timeout":{"type":"number","description":"Calculation timeout in seconds","example":32,"default":30,"minimum":2,"maximum":60,"uniqueKey":"timeout","typeLabel":"number"},"enableTestnets":{"type":"boolean","description":"Use testnets for calculation or not","example":false,"uniqueKey":"enableTestnets","typeLabel":"boolean"},"enableChecks":{"type":"object","description":"Enable possible gas and wallet errors checks","default":true,"uniqueKey":"enableChecks","typeLabel":"object"},"skipFeeProviders":{"type":"object","description":"Skip providers with fee in route","default":false,"uniqueKey":"skipFeeProviders","typeLabel":"object"},"showFailedRoutes":{"type":"boolean","description":"Show failed routes in response or not","example":false,"default":false,"uniqueKey":"showFailedRoutes","typeLabel":"boolean"},"showDangerousRoutes":{"type":"boolean","description":"Show dangerous routes in response or not","example":false,"default":false,"uniqueKey":"showDangerousRoutes","typeLabel":"boolean"},"providerTags":{"type":"string","enum":["onlyDeposits","notDeposits","onlyPrivate","notPrivate"],"uniqueKey":"providerTags","typeLabel":"enum\u003cstring>"},"useDepositTradeIfAvailable":{"type":"boolean","description":"Use deposit trade if available","uniqueKey":"useDepositTradeIfAvailable","typeLabel":"boolean"},"signature":{"type":"string","description":"Signature to auth wallet","uniqueKey":"signature","typeLabel":"string"},"publicKey":{"type":"string","description":"Public key of bitcoin wallet address","uniqueKey":"publicKey","typeLabel":"string"},"refundAddress":{"type":"string","description":"Address for refunds in src chain in case of reverted deposit trades","uniqueKey":"refundAddress","typeLabel":"string"}},"required":["srcTokenAddress","dstTokenBlockchain","srcTokenBlockchain","srcTokenAmount","dstTokenAddress","receiver","referrer","id"],"uniqueKey":"","typeLabel":"object"},"examples":{"01-ethereum.native-polygon.native":{"title":"01-ethereum.native-polygon.native","value":{"dstTokenAddress":"0x0000000000000000000000000000000000000000","dstTokenBlockchain":"POLYGON","referrer":"rubic.exchange","srcTokenAddress":"0x0000000000000000000000000000000000000000","srcTokenAmount":"1.05","srcTokenBlockchain":"ETH","id":"string","receiver":"0x1b3cB81E51011b549d78bf720b0d924ac763A7C2"}},"02-ethereum.usdt-polygon.usdt":{"title":"02-ethereum.usdt-polygon.usdt","value":{"dstTokenAddress":"0xc2132d05d31c914a87c6611c10748aeb04b58e8f","dstTokenBlockchain":"POLYGON","referrer":"rubic.exchange","srcTokenAddress":"0xdac17f958d2ee523a2206206994597c13d831ec7","srcTokenAmount":"50","srcTokenBlockchain":"ETH","id":"string","receiver":"0x1b3cB81E51011b549d78bf720b0d924ac763A7C2"}},"03-ethereum.usdt-bnb.usdt":{"title":"03-ethereum.usdt-bnb.usdt","value":{"dstTokenAddress":"0x55d398326f99059ff775485246999027b3197955","dstTokenBlockchain":"BSC","referrer":"rubic.exchange","srcTokenAddress":"0xdac17f958d2ee523a2206206994597c13d831ec7","srcTokenAmount":"50","srcTokenBlockchain":"ETH","id":"string","receiver":"0x1b3cB81E51011b549d78bf720b0d924ac763A7C2"}},"04-ethereum.usdt-ethereum.native":{"title":"04-ethereum.usdt-ethereum.native","value":{"dstTokenAddress":"0x0000000000000000000000000000000000000000","dstTokenBlockchain":"ETH","referrer":"rubic.exchange","srcTokenAddress":"0xdac17f958d2ee523a2206206994597c13d831ec7","srcTokenAmount":"50","srcTokenBlockchain":"ETH","id":"string","receiver":"0x1b3cB81E51011b549d78bf720b0d924ac763A7C2"}},"05-solana.usdt-ethereum.usdt":{"title":"05-solana.usdt-ethereum.usdt","value":{"dstTokenAddress":"0xdac17f958d2ee523a2206206994597c13d831ec7","dstTokenBlockchain":"ETH","referrer":"rubic.exchange","srcTokenAddress":"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB","srcTokenAmount":"50","srcTokenBlockchain":"SOLANA","id":"string","receiver":"0x1b3cB81E51011b549d78bf720b0d924ac763A7C2"}},"06-ethereum.usdt-solana.usdt":{"title":"06-ethereum.usdt-solana.usdt","value":{"dstTokenAddress":"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB","dstTokenBlockchain":"SOLANA","referrer":"rubic.exchange","srcTokenAddress":"0xdac17f958d2ee523a2206206994597c13d831ec7","srcTokenAmount":"50","srcTokenBlockchain":"ETH","id":"string","receiver":"0x1b3cB81E51011b549d78bf720b0d924ac763A7C2"}},"07-solana.usdt-solana.usdc":{"title":"07-solana.usdt-solana.usdc","value":{"dstTokenAddress":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","dstTokenBlockchain":"SOLANA","referrer":"rubic.exchange","srcTokenAddress":"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB","srcTokenAmount":"50","srcTokenBlockchain":"SOLANA","id":"string","receiver":"0x1b3cB81E51011b549d78bf720b0d924ac763A7C2"}},"08-ethereum.usdc-tron.usdc":{"title":"08-ethereum.usdc-tron.usdc","value":{"dstTokenAddress":"TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8","dstTokenBlockchain":"TRON","referrer":"rubic.exchange","srcTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","srcTokenAmount":"50","srcTokenBlockchain":"ETH","id":"string","receiver":"0x1b3cB81E51011b549d78bf720b0d924ac763A7C2"}},"09-ton.usdt-ton.native":{"title":"09-ton.usdt-ton.native","value":{"dstTokenAddress":"0x0000000000000000000000000000000000000000","dstTokenBlockchain":"TON","referrer":"rubic.exchange","srcTokenAddress":"EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs","srcTokenAmount":"10","srcTokenBlockchain":"TON","id":"string","receiver":"0x1b3cB81E51011b549d78bf720b0d924ac763A7C2"}},"10-bitcoin.native-merlin.native":{"title":"10-bitcoin.native-merlin.native","value":{"dstTokenAddress":"0x0000000000000000000000000000000000000000","dstTokenBlockchain":"MERLIN","referrer":"rubic.exchange","srcTokenAddress":"0x0000000000000000000000000000000000000000","srcTokenAmount":"0.01","srcTokenBlockchain":"BITCOIN","id":"string","receiver":"0x1b3cB81E51011b549d78bf720b0d924ac763A7C2"}},"11-bitcoin.native-ethereum.wbtc":{"title":"11-bitcoin.native-ethereum.wbtc","value":{"dstTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","dstTokenBlockchain":"ETH","referrer":"rubic.exchange","srcTokenAddress":"0x0000000000000000000000000000000000000000","srcTokenAmount":"0.01","srcTokenBlockchain":"BITCOIN","id":"string","receiver":"0x1b3cB81E51011b549d78bf720b0d924ac763A7C2"}},"12-sui.native-sui.usdc":{"title":"12-sui.native-sui.usdc","value":{"dstTokenAddress":"0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC","dstTokenBlockchain":"SUI","referrer":"rubic.exchange","srcTokenAddress":"0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI","srcTokenAmount":"10","srcTokenBlockchain":"SUI","id":"string","receiver":"0x1b3cB81E51011b549d78bf720b0d924ac763A7C2"}},"13-ethereum.native-sui.native":{"title":"13-ethereum.native-sui.native","value":{"dstTokenAddress":"0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI","dstTokenBlockchain":"SUI","referrer":"rubic.exchange","srcTokenAddress":"0x0000000000000000000000000000000000000000","srcTokenAmount":"10","srcTokenBlockchain":"ETH","id":"string","receiver":"0x1b3cB81E51011b549d78bf720b0d924ac763A7C2"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"5252bd27-7c3a-45bb-8b40-f65161b240cb":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"quote":{"type":"object","properties":{"srcTokenAddress":{"type":"string","description":"Destination token blockchain","isRequired":true,"uniqueKey":"quote.srcTokenAddress","typeLabel":"string"},"dstTokenBlockchain":{"type":"string","description":"Destination token blockchain","default":"POLYGON","enum":["MUMBAI","BSCT","GOERLI","FUJI","SCROLL_SEPOLIA","ARTHERA","SEPOLIA","BERACHAIN_TESTNET","BLAST_TESTNET","HOLESKY","UNICHAIN_SEPOLIA_TESTNET","ETH","BSC","POLYGON","AVALANCHE","MOONRIVER","FANTOM","HARMONY","ARBITRUM","AURORA","TELOS","OPTIMISM","CRONOS","OKX","GNOSIS","FUSE","MOONBEAM","CELO","BOBA","BOBA_BSC","ASTAR_EVM","KAVA","BITGERT","OASIS","METIS","DEFIKINGDOMS","KLAYTN","VELAS","SYSCOIN","ETHEREUM_CLASSIC","FLARE","IOTEX","THETA","ZK_SYNC","PULSECHAIN","LINEA","BASE","MANTLE","MANTA_PACIFIC","SCROLL","ZETACHAIN","BLAST","HORIZEN_EON","MERLIN","ROOTSTOCK","MODE","ZK_FAIR","ZK_LINK","XLAYER","TAIKO","SEI","CORE","BAHAMUT","BITLAYER","GRAVITY","FRAXTAL","BERACHAIN","SONEIUM","UNICHAIN","MORPH","HEMI","PLASMA","MONAD","HYPER_EVM","MEGAETH","ROBINHOOD","BITCOIN_CASH","NEAR","ICP","CARDANO","AION","ALGORAND","APTOS","ARDOR","ARK","ASTAR","COSMOS","BAND_PROTOCOL","BITCOIN_DIAMOND","BSV","BITCOIN_GOLD","CASPER","DASH","DECRED","DIGI_BYTE","DIVI","DOGECOIN","POLKADOT","MULTIVERS_X","FIO_PROTOCOL","FIRO","FLOW","HEDERA","HELIUM","ICON","IOST","IOTA","KADENA","KOMODO","KUSAMA","LISK","LITECOIN","TERRA","TERRA_CLASSIC","MINA_PROTOCOL","NANO","NEO","OSMOSIS","PIVX","POLYX","QTUM","THOR_CHAIN","RAVENCOIN","SIA","SECRET","STEEM","STRATIS","STACKS","SOLAR","VE_CHAIN","WAVES","WAX","DX_CHAIN","E_CASH","NEM","STELLAR","MONERO","RIPPLE","TEZOS","VERGE","SYMBOL","ZCASH","HORIZEN","ZILLIQA","KAVA_COSMOS","FILECOIN","EOS","ONTOLOGY","XDC","STARKNET","TON","SOLANA","BITCOIN","TRON","SUI"],"isRequired":true,"uniqueKey":"quote.dstTokenBlockchain","typeLabel":"enum\u003cstring>"},"srcTokenBlockchain":{"type":"string","description":"Source token blockchain","default":"ETH","enum":["MUMBAI","BSCT","GOERLI","FUJI","SCROLL_SEPOLIA","ARTHERA","SEPOLIA","BERACHAIN_TESTNET","BLAST_TESTNET","HOLESKY","UNICHAIN_SEPOLIA_TESTNET","ETH","BSC","POLYGON","AVALANCHE","MOONRIVER","FANTOM","HARMONY","ARBITRUM","AURORA","TELOS","OPTIMISM","CRONOS","OKX","GNOSIS","FUSE","MOONBEAM","CELO","BOBA","BOBA_BSC","ASTAR_EVM","KAVA","BITGERT","OASIS","METIS","DEFIKINGDOMS","KLAYTN","VELAS","SYSCOIN","ETHEREUM_CLASSIC","FLARE","IOTEX","THETA","ZK_SYNC","PULSECHAIN","LINEA","BASE","MANTLE","MANTA_PACIFIC","SCROLL","ZETACHAIN","BLAST","HORIZEN_EON","MERLIN","ROOTSTOCK","MODE","ZK_FAIR","ZK_LINK","XLAYER","TAIKO","SEI","CORE","BAHAMUT","BITLAYER","GRAVITY","FRAXTAL","BERACHAIN","SONEIUM","UNICHAIN","MORPH","HEMI","PLASMA","MONAD","HYPER_EVM","MEGAETH","ROBINHOOD","BITCOIN_CASH","NEAR","ICP","CARDANO","AION","ALGORAND","APTOS","ARDOR","ARK","ASTAR","COSMOS","BAND_PROTOCOL","BITCOIN_DIAMOND","BSV","BITCOIN_GOLD","CASPER","DASH","DECRED","DIGI_BYTE","DIVI","DOGECOIN","POLKADOT","MULTIVERS_X","FIO_PROTOCOL","FIRO","FLOW","HEDERA","HELIUM","ICON","IOST","IOTA","KADENA","KOMODO","KUSAMA","LISK","LITECOIN","TERRA","TERRA_CLASSIC","MINA_PROTOCOL","NANO","NEO","OSMOSIS","PIVX","POLYX","QTUM","THOR_CHAIN","RAVENCOIN","SIA","SECRET","STEEM","STRATIS","STACKS","SOLAR","VE_CHAIN","WAVES","WAX","DX_CHAIN","E_CASH","NEM","STELLAR","MONERO","RIPPLE","TEZOS","VERGE","SYMBOL","ZCASH","HORIZEN","ZILLIQA","KAVA_COSMOS","FILECOIN","EOS","ONTOLOGY","XDC","STARKNET","TON","SOLANA","BITCOIN","TRON","SUI"],"isRequired":true,"uniqueKey":"quote.srcTokenBlockchain","typeLabel":"enum\u003cstring>"},"srcTokenAmount":{"type":"string","description":"Source token amount with decimals","example":"1.05","isRequired":true,"uniqueKey":"quote.srcTokenAmount","typeLabel":"string"},"dstTokenAddress":{"type":"string","description":"Destination token address","example":"0x0000000000000000000000000000000000000000","isRequired":true,"uniqueKey":"quote.dstTokenAddress","typeLabel":"string"},"id":{"type":"string","description":"Id of the calculated trade","isRequired":true,"uniqueKey":"quote.id","typeLabel":"string"},"fromAddress":{"type":"string","description":"Wallet address to send funds from.\nCan be empty for swaps via deposit providers.s","isRequired":true,"uniqueKey":"quote.fromAddress","typeLabel":"string"},"receiver":{"type":"string","description":"Wallet address to send tokens to on the destination blockchain","isRequired":true,"uniqueKey":"quote.receiver","typeLabel":"string"},"referrer":{"type":"object","description":"Referrer address","example":"rubic.exchange","default":"rubic.exchange","isRequired":true,"uniqueKey":"quote.referrer","typeLabel":"object"},"nativeBlacklist":{"description":"Native provider-calculation to exclude from calculation","default":[],"type":"array","items":{"type":"string","uniqueKey":"quote.nativeBlacklist.items.[INDEX]","typeLabel":"string"},"uniqueKey":"quote.nativeBlacklist","typeLabel":"string[]"},"enableChecks":{"type":"object","description":"Enable possible gas and wallet errors checks","default":true,"uniqueKey":"quote.enableChecks","typeLabel":"object"},"signature":{"type":"string","description":"Signature to auth wallet","uniqueKey":"quote.signature","typeLabel":"string"},"publicKey":{"type":"string","description":"Public key of bitcoin wallet address","uniqueKey":"quote.publicKey","typeLabel":"string"},"refundAddress":{"type":"string","description":"Address for refunds in src chain in case of reverted deposit trades","uniqueKey":"quote.refundAddress","typeLabel":"string"},"integratorAddress":{"type":"string","description":"Integrator address to set fees","uniqueKey":"quote.integratorAddress","typeLabel":"string"},"slippage":{"type":"number","description":"Slippage tolerance in percents for trade","example":0.02,"maximum":0.5,"uniqueKey":"quote.slippage","typeLabel":"number"},"preferredProvider":{"type":"string","description":"Preferred provider for calculation","enum":["symbiosis","lifi","dln","bridgers","multichain","xy","celer_bridge","changenow","stargate_v2","arbitrum","squidrouter","scroll_bridge","taiko_bridge","rango","pulsechain_bridge","orbiter_bridge","orbiter_bridge_v2","owl_to_bridge","layerzero","archon_bridge","meson","eddy_bridge","router","retro_bridge","across","unizen","simple_swap","changelly","tele_swap","wanchain_bridge","relay","xflows","wormhole","exolix","near_intents","usdt_zero_bridge","houdini_bridge","quickex","rubic_stellar_api","pact_swap","stealthex","mayan","clearswap_bridge","instaswap","baltex","change_hero","xgram","the_change","cce_cash","10K_SWAP","AERODROME","ACRYPTOS","ALDRIN_EXCHANGE","ALGEBRA","ALGEBRA_INTEGRAL","ANNEX","APE_SWAP","ARTH_SWAP","ASTRO_SWAP","ASCENT","AURORA_SWAP","AVNU","AETHON_SWAP","ATLANTIS","AQUARIUS","BABY_SWAP","BALANCER","BASE_SWAP","BEAM_SWAP","BI_SWAP","BRIDGERS","BLAZE_SWAP","BULBA_SWAP","CAMELOT","CETUS","CHERRY_SWAP","CLAIM_SWAP","CLEARSWAP","COFFEE_SWAP","CREMA_FINANCE","CRO_SWAP","CRONA_SWAP","CROPPER_FINANCE","CROW_FI","CRO_DEX","CURVE","CLOBER","DEDUST","DEFI_PLAZA","DEFI_SWAP","DFLOW","DFYN","DLN","DODO","DRAGON_SWAP","DYSTOPIA","ECHO_DEX","EDDY_FINANCE","ELK","ENOSYS","ENOSYS_V3","FENIX_V2","FENIX_V3","FINKUJIRA","FUSIONX","FRAX_SWAP_V2","HONEY_SWAP","HORIZONDEX","HOUDINI","HYPERCAT","JET_SWAP","JOE","JUPITER","JUPITER_SWAP","J_SWAP","KIM","KODIAK","KUJATA","KYBER_SWAP","KYO_FINANCE","LUA_SWAP","LIFI","MACARON","MAVERICK","MDEX","MERLIN_SWAP","MESH_SWAP","MM_FINANCE","MOJITO_SWAP","MUTE_SWAP","NET_SWAP","NATIVE_ROUTER","ODOS","OKC_SWAP","OKU_SWAP","ONE_INCH","ONE_MOON","ONE_SOL","OMNIDEX","OOLONG_SWAP","OPEN_OCEAN","ORCA_SWAP","OSMOSIS_SWAP","OCTO_SWAP","PANCAKE_SWAP","PANCAKE_SWAP_V3","PANGOLIN","PARA_SWAP","PEGASYS","PHOTON_SWAP","POLYDEX","PITEAS","QUICK_SWAP","QUICK_SWAP_V3","PULSEX_V1","PULSEX_V2","RANGO","RAYDIUM","REF_FINANCE","REN_BTC","ROUTER_SWAP","RUBIC_STELLAR_API","SABER_STABLE_SWAP","SAROS_SWAP","SERUM","SHIBA_SWAP","SILK_SWAP","SMOOTHY","SOLANA","SOLAR_BEAM","SPACEFI_SWAP","SPIRIT_SWAP","SPL_TOKEN_SWAP","SPOOKY_SWAP","SOUL_SWAP","STELLA_SWAP","STONFI","SUN_SWAP","SURFDEX","SUSHI_SWAP","SYNAPSE","SYNC_SWAP","SPARK_DEX","SPARK_DEX_V3","SQUIDROUTER","SYMBIOSIS_SWAP","SOROSWAP","TONCO_DEX","TRADER","TRISOLARIS","IZUMI","UBE_SWAP","UNISWAP_V2","UNI_SWAP_V3","UNIZEN","VERSE","VIPER_SWAP","VOLTAGE_SWAP","VOOI","VVS_FINANCE","WAGYU_SWAP","WANNA_SWAP","WAULT_SWAP","WOO_FI","WRAPPED","WYND","WARPX_V2","WARPX_V3","XY_DEX","YUZU_SWAP","ZAPPY","ZIP_SWAP","ZRX","ZETA_SWAP"],"uniqueKey":"quote.preferredProvider","typeLabel":"enum\u003cstring>"},"foreignBlacklist":{"type":"object","description":"Foreign provider-calculation to exclude from calculation","default":{"dflow":[],"lifi":[],"rango":[],"zerox":[]},"properties":{"lifi":{"type":"array","items":{"type":"string","uniqueKey":"quote.foreignBlacklist.lifi.items.[INDEX]","typeLabel":"string"},"uniqueKey":"quote.foreignBlacklist.lifi","typeLabel":"string[]"},"rango":{"type":"array","items":{"type":"string","uniqueKey":"quote.foreignBlacklist.rango.items.[INDEX]","typeLabel":"string"},"uniqueKey":"quote.foreignBlacklist.rango","typeLabel":"string[]"},"zerox":{"type":"array","items":{"type":"string","uniqueKey":"quote.foreignBlacklist.zerox.items.[INDEX]","typeLabel":"string"},"uniqueKey":"quote.foreignBlacklist.zerox","typeLabel":"string[]"},"dflow":{"type":"array","items":{"type":"string","uniqueKey":"quote.foreignBlacklist.dflow.items.[INDEX]","typeLabel":"string"},"uniqueKey":"quote.foreignBlacklist.dflow","typeLabel":"string[]"}},"uniqueKey":"quote.foreignBlacklist","typeLabel":"object"},"timeout":{"type":"number","description":"Calculation timeout in seconds","example":32,"default":30,"minimum":2,"maximum":60,"uniqueKey":"quote.timeout","typeLabel":"number"},"enableTestnets":{"type":"boolean","description":"Use testnets for calculation or not","example":false,"uniqueKey":"quote.enableTestnets","typeLabel":"boolean"},"skipFeeProviders":{"type":"object","description":"Skip providers with fee in route","default":false,"uniqueKey":"quote.skipFeeProviders","typeLabel":"object"},"showFailedRoutes":{"type":"boolean","description":"Show failed routes in response or not","example":false,"default":false,"uniqueKey":"quote.showFailedRoutes","typeLabel":"boolean"},"showDangerousRoutes":{"type":"boolean","description":"Show dangerous routes in response or not","example":false,"default":false,"uniqueKey":"quote.showDangerousRoutes","typeLabel":"boolean"},"providerTags":{"type":"string","enum":["onlyDeposits","notDeposits","onlyPrivate","notPrivate"],"uniqueKey":"quote.providerTags","typeLabel":"enum\u003cstring>"},"useDepositTradeIfAvailable":{"type":"boolean","description":"Use deposit trade if available","uniqueKey":"quote.useDepositTradeIfAvailable","typeLabel":"boolean"}},"required":["srcTokenAddress","dstTokenBlockchain","srcTokenBlockchain","srcTokenAmount","dstTokenAddress","id","fromAddress","receiver","referrer"],"isRequired":true,"uniqueKey":"quote","typeLabel":"object"},"estimate":{"type":"object","properties":{"destinationTokenAmount":{"type":"string","description":"Expected amount of tokens to receive in destination chains","example":"1.05","isRequired":true,"uniqueKey":"estimate.destinationTokenAmount","typeLabel":"string"},"destinationTokenMinAmount":{"type":"string","description":"Minimum amount of tokens to receive in destination chain","example":"1.02","isRequired":true,"uniqueKey":"estimate.destinationTokenMinAmount","typeLabel":"string"},"destinationWeiAmount":{"type":"string","description":"Expected amount of tokens to receive in destination chain in WEI","example":"105000000000000000","isRequired":true,"uniqueKey":"estimate.destinationWeiAmount","typeLabel":"string"},"destinationWeiMinAmount":{"type":"string","description":"Minimum amount of tokens to receive in destination chain in WEI","example":"102000000000000000","isRequired":true,"uniqueKey":"estimate.destinationWeiMinAmount","typeLabel":"string"},"durationInMinutes":{"type":"number","description":"Expected duration of the trade in minutes","example":"5","isRequired":true,"uniqueKey":"estimate.durationInMinutes","typeLabel":"number"},"slippage":{"type":"number","description":"Expected slippage percent","example":"5","isRequired":true,"uniqueKey":"estimate.slippage","typeLabel":"number"},"priceImpact":{"oneOf":[{"type":"number","description":"Price impact","example":"3","isRequired":true,"uniqueKey":"estimate.priceImpact.oneOf.0","typeLabel":"number"},{"type":"null","description":"Price impact","example":"3","isRequired":true,"uniqueKey":"estimate.priceImpact.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"estimate.priceImpact","typeLabel":"number | null"},"intermidiateTokenWeiAmount":{"type":"string","description":"Wei amount of intermidiate token, which is used in Rubic-Private provider","example":"105000000000000000","isRequired":true,"uniqueKey":"estimate.intermidiateTokenWeiAmount","typeLabel":"string"},"destinationUsdAmount":{"type":"number","description":"Expected USD amount of tokens to receive in destination chain","example":"25.31","uniqueKey":"estimate.destinationUsdAmount","typeLabel":"number"},"destinationUsdMinAmount":{"type":"number","description":"Minimum USD amount of tokens to receive in destination chain","example":"25.31","uniqueKey":"estimate.destinationUsdMinAmount","typeLabel":"number"}},"required":["destinationTokenAmount","destinationTokenMinAmount","destinationWeiAmount","destinationWeiMinAmount","durationInMinutes","slippage","priceImpact","intermidiateTokenWeiAmount"],"isRequired":true,"uniqueKey":"estimate","typeLabel":"object"},"fees":{"type":"object","properties":{"gasTokenFees":{"type":"object","properties":{"gas":{"type":"object","properties":{"gasPrice":{"oneOf":[{"type":"string","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.gasPrice.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.gasPrice.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.gasPrice","typeLabel":"string | null"},"baseFee":{"oneOf":[{"type":"string","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.baseFee.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.baseFee.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.baseFee","typeLabel":"string | null"},"maxFeePerGas":{"oneOf":[{"type":"string","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.maxFeePerGas.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.maxFeePerGas.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.maxFeePerGas","typeLabel":"string | null"},"maxPriorityFeePerGas":{"oneOf":[{"type":"string","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.maxPriorityFeePerGas.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.maxPriorityFeePerGas.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.maxPriorityFeePerGas","typeLabel":"string | null"},"gasLimit":{"oneOf":[{"type":"string","description":"Estimated limit in source network in WEI","example":"1000000000000000","uniqueKey":"fees.gasTokenFees.gas.gasLimit.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated limit in source network in WEI","example":"1000000000000000","uniqueKey":"fees.gasTokenFees.gas.gasLimit.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.gasLimit","typeLabel":"string | null"},"totalWeiAmount":{"oneOf":[{"type":"string","description":"Estimated total amount of spent GAS","example":"5020000000000000","uniqueKey":"fees.gasTokenFees.gas.totalWeiAmount.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated total amount of spent GAS","example":"5020000000000000","uniqueKey":"fees.gasTokenFees.gas.totalWeiAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.totalWeiAmount","typeLabel":"string | null"},"totalUsdAmount":{"oneOf":[{"type":"number","description":"Estimated USD amount of spent GAS","example":"15.31","uniqueKey":"fees.gasTokenFees.gas.totalUsdAmount.oneOf.0","typeLabel":"number"},{"type":"null","description":"Estimated USD amount of spent GAS","example":"15.31","uniqueKey":"fees.gasTokenFees.gas.totalUsdAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.totalUsdAmount","typeLabel":"number | null"}},"required":true,"uniqueKey":"fees.gasTokenFees.gas","typeLabel":"object"},"protocol":{"type":"object","properties":{"fixedAmount":{"type":"string","description":"Rubic protocol fee in native tokens","example":"0.00013","uniqueKey":"fees.gasTokenFees.protocol.fixedAmount","typeLabel":"string"},"fixedWeiAmount":{"type":"string","description":"Rubic protocol fee in WEI","example":"130000000000000","uniqueKey":"fees.gasTokenFees.protocol.fixedWeiAmount","typeLabel":"string"},"fixedUsdAmount":{"type":"number","description":"Rubic protocol fee in USD","example":"1.53","uniqueKey":"fees.gasTokenFees.protocol.fixedUsdAmount","typeLabel":"number"}},"required":true,"uniqueKey":"fees.gasTokenFees.protocol","typeLabel":"object"},"provider":{"type":"object","properties":{"fixedAmount":{"type":"string","description":"Provider fee in native tokens","example":"0.00013","uniqueKey":"fees.gasTokenFees.provider.fixedAmount","typeLabel":"string"},"fixedWeiAmount":{"type":"string","description":"Provider fee in WEI","example":"130000000000000","uniqueKey":"fees.gasTokenFees.provider.fixedWeiAmount","typeLabel":"string"},"fixedUsdAmount":{"type":"number","description":"Provider fee in USD","example":"1.53","uniqueKey":"fees.gasTokenFees.provider.fixedUsdAmount","typeLabel":"number"}},"required":true,"uniqueKey":"fees.gasTokenFees.provider","typeLabel":"object"},"nativeToken":{"type":"object","properties":{"address":{"type":"string","description":"Token address","example":"0x0000000000000000000000000000000000000000","uniqueKey":"fees.gasTokenFees.nativeToken.address","typeLabel":"string"},"decimals":{"type":"number","description":"Token decimals","example":18,"uniqueKey":"fees.gasTokenFees.nativeToken.decimals","typeLabel":"number"},"symbol":{"type":"string","description":"Token symbol","example":"ETH","uniqueKey":"fees.gasTokenFees.nativeToken.symbol","typeLabel":"string"},"name":{"type":"string","description":"Token name","example":"Ethereum","uniqueKey":"fees.gasTokenFees.nativeToken.name","typeLabel":"string"},"blockchainId":{"type":"number","description":"Blockchain id","example":"1","uniqueKey":"fees.gasTokenFees.nativeToken.blockchainId","typeLabel":"number"},"blockchain":{"type":"object","description":"Blockchain name","example":"ETH","uniqueKey":"fees.gasTokenFees.nativeToken.blockchain","typeLabel":"object"},"price":{"type":"number","description":"Token price in USD","example":"1.35","uniqueKey":"fees.gasTokenFees.nativeToken.price","typeLabel":"number"}},"required":true,"uniqueKey":"fees.gasTokenFees.nativeToken","typeLabel":"object"}},"isRequired":true,"uniqueKey":"fees.gasTokenFees","typeLabel":"object"},"percentFees":{"type":"object","properties":{"percent":{"type":"number","description":"Percent","isRequired":true,"uniqueKey":"fees.percentFees.percent","typeLabel":"number"},"token":{"oneOf":[{"type":"object","description":"Token","required":["address","decimals","symbol","name","blockchainId","blockchain"],"properties":{"address":{"type":"string","description":"Token address","example":"0x0000000000000000000000000000000000000000","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.address","typeLabel":"string"},"decimals":{"type":"number","description":"Token decimals","example":18,"isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.decimals","typeLabel":"number"},"symbol":{"type":"string","description":"Token symbol","example":"ETH","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.symbol","typeLabel":"string"},"name":{"type":"string","description":"Token name","example":"Ethereum","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.name","typeLabel":"string"},"blockchainId":{"type":"number","description":"Blockchain id","example":"1","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.blockchainId","typeLabel":"number"},"blockchain":{"type":"object","description":"Blockchain name","example":"ETH","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.blockchain","typeLabel":"object"},"price":{"type":"number","description":"Token price in USD","example":"1.35","uniqueKey":"fees.percentFees.token.oneOf.0.price","typeLabel":"number"}},"isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"fees.percentFees.token","typeLabel":"object | null"}},"required":["percent","token"],"isRequired":true,"uniqueKey":"fees.percentFees","typeLabel":"object"}},"required":["gasTokenFees","percentFees"],"isRequired":true,"uniqueKey":"fees","typeLabel":"object"},"transaction":{"type":"object","properties":{"approvalAddress":{"type":"string","description":"Gateway address to approve erc20 token","uniqueKey":"transaction.approvalAddress","typeLabel":"string"},"permit2Address":{"type":"string","description":"","uniqueKey":"transaction.permit2Address","typeLabel":"string"},"data":{"type":"string","description":"Data to execute","uniqueKey":"transaction.data","typeLabel":"string"},"to":{"type":"string","description":"Contract to call","uniqueKey":"transaction.to","typeLabel":"string"},"value":{"type":"string","description":"","uniqueKey":"transaction.value","typeLabel":"string"},"depositAddress":{"type":"string","description":"Address to deposit funds to","uniqueKey":"transaction.depositAddress","typeLabel":"string"},"amountToSend":{"type":"string","description":"Token amount to send to deposit address","uniqueKey":"transaction.amountToSend","typeLabel":"string"},"extraFields":{"type":"object","description":"Extra fields to perform the transaction","uniqueKey":"transaction.extraFields","typeLabel":"object"},"exchangeId":{"type":"string","description":"","uniqueKey":"transaction.exchangeId","typeLabel":"string"},"tonMessages":{"description":"Messages array for tonConnectUI.sendTransaction() call","type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"In default transfer - it's a receiverWalletAddress to send funds. In tx using contracts - it's a jettonWalletAddress (like ERC-20, but in TON)","isRequired":true,"uniqueKey":"transaction.tonMessages.items.[INDEX].address","typeLabel":"string"},"amount":{"type":"string","description":"Amount to send tx in nanotons. In default trasfer - it's a transfered value + gasFee. \nIn tx using contracts - it's static gasFee, by default toNano(0.05).toString()","isRequired":true,"uniqueKey":"transaction.tonMessages.items.[INDEX].amount","typeLabel":"string"},"payload":{"type":"string","description":"Data for contract.","uniqueKey":"transaction.tonMessages.items.[INDEX].payload","typeLabel":"string"},"stateInit":{"type":"string","uniqueKey":"transaction.tonMessages.items.[INDEX].stateInit","typeLabel":"string"}},"required":["address","amount"],"uniqueKey":"transaction.tonMessages.items.[INDEX]","typeLabel":"object"},"uniqueKey":"transaction.tonMessages","typeLabel":"object[]"},"psbt":{"type":"string","description":"Unsigned psbt bitcoin transaction","uniqueKey":"transaction.psbt","typeLabel":"string"},"signInputs":{"description":"Indexes of inputs which user have to sign","type":"array","items":{"type":"number","uniqueKey":"transaction.signInputs.items.[INDEX]","typeLabel":"number"},"uniqueKey":"transaction.signInputs","typeLabel":"number[]"},"feeLimit":{"type":"number","description":"Fee limit for tron blockchain","uniqueKey":"transaction.feeLimit","typeLabel":"number"},"callValue":{"type":"string","description":"Native token value for tron blockchain","uniqueKey":"transaction.callValue","typeLabel":"string"},"signature":{"type":"string","description":"Function signature of tron transaction","uniqueKey":"transaction.signature","typeLabel":"string"},"arguments":{"description":"","type":"array","items":{"type":"string","uniqueKey":"transaction.arguments.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transaction.arguments","typeLabel":"string[]"},"rawParameter":{"type":"string","description":"Encoded tron transaction arguments","uniqueKey":"transaction.rawParameter","typeLabel":"string"},"transaction":{"type":"string","description":"Fee limit for tron blockchain","uniqueKey":"transaction.transaction","typeLabel":"string"}},"isRequired":true,"uniqueKey":"transaction","typeLabel":"object"},"warnings":{"description":"Specific info about quote params provide","type":"array","items":{"type":"object","properties":{},"uniqueKey":"warnings.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"warnings","typeLabel":"object[]"},"routing":{"type":"array","items":{"type":"object","properties":{"type":{"type":"object","description":"Swap type","isRequired":true,"uniqueKey":"routing.items.[INDEX].type","typeLabel":"object"},"provider":{"type":"string","description":"Provider name","isRequired":true,"uniqueKey":"routing.items.[INDEX].provider","typeLabel":"string"},"path":{"description":"Tokens path","type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"Token address","example":"0x0000000000000000000000000000000000000000","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].address","typeLabel":"string"},"decimals":{"type":"number","description":"Token decimals","example":18,"isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].decimals","typeLabel":"number"},"symbol":{"type":"string","description":"Token symbol","example":"ETH","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].symbol","typeLabel":"string"},"name":{"type":"string","description":"Token name","example":"Ethereum","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].name","typeLabel":"string"},"blockchainId":{"type":"number","description":"Blockchain id","example":"1","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].blockchainId","typeLabel":"number"},"blockchain":{"type":"object","description":"Blockchain name","example":"ETH","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].blockchain","typeLabel":"object"},"amount":{"type":"string","description":"Token amount","example":"0.00123","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].amount","typeLabel":"string"},"price":{"type":"number","description":"Token price in USD","example":"1.35","uniqueKey":"routing.items.[INDEX].path.items.[INDEX].price","typeLabel":"number"}},"required":["address","decimals","symbol","name","blockchainId","blockchain","amount"],"uniqueKey":"routing.items.[INDEX].path.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"routing.items.[INDEX].path","typeLabel":"object[]"}},"required":["type","provider","path"],"uniqueKey":"routing.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"routing","typeLabel":"object[]"},"providerType":{"type":"object","isRequired":true,"uniqueKey":"providerType","typeLabel":"object"},"swapType":{"type":"object","isRequired":true,"uniqueKey":"swapType","typeLabel":"object"},"useRubicContract":{"type":"boolean","isRequired":true,"uniqueKey":"useRubicContract","typeLabel":"boolean"},"private":{"type":"boolean","isRequired":true,"uniqueKey":"private","typeLabel":"boolean"},"uniqueInfo":{"type":"object","properties":{"changenowId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.changenowId","typeLabel":"string"},"changellyId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.changellyId","typeLabel":"string"},"simpleSwapId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.simpleSwapId","typeLabel":"string"},"squidrouterRequestId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.squidrouterRequestId","typeLabel":"string"},"rangoRequestId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.rangoRequestId","typeLabel":"string"},"retrobridgeId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.retrobridgeId","typeLabel":"string"},"relayId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.relayId","typeLabel":"string"},"exolixId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.exolixId","typeLabel":"string"},"quickexId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.quickexId","typeLabel":"string"},"acrossId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.acrossId","typeLabel":"string"},"nearIntentsId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.nearIntentsId","typeLabel":"string"},"houdiniId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.houdiniId","typeLabel":"string"},"clearswapId":{"type":"string","uniqueKey":"uniqueInfo.clearswapId","typeLabel":"string"},"stealthexId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.stealthexId","typeLabel":"string"},"changeHeroId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.changeHeroId","typeLabel":"string"},"xgramId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.xgramId","typeLabel":"string"},"instaswapId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.instaswapId","typeLabel":"string"},"baltexId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.baltexId","typeLabel":"string"},"theChangeId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.theChangeId","typeLabel":"string"},"cceCashId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.cceCashId","typeLabel":"string"}},"uniqueKey":"uniqueInfo","typeLabel":"object"}},"required":["quote","estimate","fees","transaction","warnings","routing","providerType","swapType","useRubicContract","private"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"quote":{"srcTokenAddress":"\u003cstring>","dstTokenBlockchain":"POLYGON","srcTokenBlockchain":"ETH","srcTokenAmount":"1.05","dstTokenAddress":"0x0000000000000000000000000000000000000000","id":"\u003cstring>","fromAddress":"\u003cstring>","receiver":"\u003cstring>","referrer":"rubic.exchange","nativeBlacklist":[],"enableChecks":true,"signature":"\u003cstring>","publicKey":"\u003cstring>","refundAddress":"\u003cstring>","integratorAddress":"\u003cstring>","slippage":0.02,"preferredProvider":"symbiosis","foreignBlacklist":{"dflow":[],"lifi":[],"rango":[],"zerox":[]},"timeout":32,"enableTestnets":false,"skipFeeProviders":false,"showFailedRoutes":false,"showDangerousRoutes":false,"providerTags":"onlyDeposits","useDepositTradeIfAvailable":true},"estimate":{"destinationTokenAmount":"1.05","destinationTokenMinAmount":"1.02","destinationWeiAmount":"105000000000000000","destinationWeiMinAmount":"102000000000000000","durationInMinutes":"5","slippage":"5","priceImpact":"3","intermidiateTokenWeiAmount":"105000000000000000","destinationUsdAmount":"25.31","destinationUsdMinAmount":"25.31"},"fees":{"gasTokenFees":{"gas":{"gasPrice":"1000000000000000000","baseFee":"1000000000000000000","maxFeePerGas":"1000000000000000000","maxPriorityFeePerGas":"1000000000000000000","gasLimit":"1000000000000000","totalWeiAmount":"5020000000000000","totalUsdAmount":"15.31"},"protocol":{"fixedAmount":"0.00013","fixedWeiAmount":"130000000000000","fixedUsdAmount":"1.53"},"provider":{"fixedAmount":"0.00013","fixedWeiAmount":"130000000000000","fixedUsdAmount":"1.53"},"nativeToken":{"address":"0x0000000000000000000000000000000000000000","decimals":18,"symbol":"ETH","name":"Ethereum","blockchainId":"1","blockchain":"ETH","price":"1.35"}},"percentFees":{"percent":123,"token":{"address":"0x0000000000000000000000000000000000000000","decimals":18,"symbol":"ETH","name":"Ethereum","blockchainId":"1","blockchain":"ETH","price":"1.35"}}},"transaction":{"approvalAddress":"\u003cstring>","permit2Address":"\u003cstring>","data":"\u003cstring>","to":"\u003cstring>","value":"\u003cstring>","depositAddress":"\u003cstring>","amountToSend":"\u003cstring>","extraFields":{},"exchangeId":"\u003cstring>","tonMessages":[{"address":"\u003cstring>","amount":"\u003cstring>","payload":"\u003cstring>","stateInit":"\u003cstring>"}],"psbt":"\u003cstring>","signInputs":[123],"feeLimit":123,"callValue":"\u003cstring>","signature":"\u003cstring>","arguments":["\u003cstring>"],"rawParameter":"\u003cstring>","transaction":"\u003cstring>"},"warnings":[{}],"routing":[{"type":{},"provider":"\u003cstring>","path":[{"address":"0x0000000000000000000000000000000000000000","decimals":18,"symbol":"ETH","name":"Ethereum","blockchainId":"1","blockchain":"ETH","amount":"0.00123","price":"1.35"}]}],"providerType":{},"swapType":{},"useRubicContract":true,"private":true,"uniqueInfo":{"changenowId":"\u003cstring>","changellyId":"\u003cstring>","simpleSwapId":"\u003cstring>","squidrouterRequestId":"\u003cstring>","rangoRequestId":"\u003cstring>","retrobridgeId":"\u003cstring>","relayId":"\u003cstring>","exolixId":"\u003cstring>","quickexId":"\u003cstring>","acrossId":"\u003cstring>","nearIntentsId":"\u003cstring>","houdiniId":"\u003cstring>","clearswapId":"\u003cstring>","stealthexId":"\u003cstring>","changeHeroId":"\u003cstring>","xgramId":"\u003cstring>","instaswapId":"\u003cstring>","baltexId":"\u003cstring>","theChangeId":"\u003cstring>","cceCashId":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"65df317c-48a8-4f45-b705-4e648494c9bd":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"quote":{"type":"object","properties":{"srcTokenAddress":{"type":"string","description":"Destination token blockchain","isRequired":true,"uniqueKey":"quote.srcTokenAddress","typeLabel":"string"},"dstTokenBlockchain":{"type":"string","description":"Destination token blockchain","default":"POLYGON","enum":["MUMBAI","BSCT","GOERLI","FUJI","SCROLL_SEPOLIA","ARTHERA","SEPOLIA","BERACHAIN_TESTNET","BLAST_TESTNET","HOLESKY","UNICHAIN_SEPOLIA_TESTNET","ETH","BSC","POLYGON","AVALANCHE","MOONRIVER","FANTOM","HARMONY","ARBITRUM","AURORA","TELOS","OPTIMISM","CRONOS","OKX","GNOSIS","FUSE","MOONBEAM","CELO","BOBA","BOBA_BSC","ASTAR_EVM","KAVA","BITGERT","OASIS","METIS","DEFIKINGDOMS","KLAYTN","VELAS","SYSCOIN","ETHEREUM_CLASSIC","FLARE","IOTEX","THETA","ZK_SYNC","PULSECHAIN","LINEA","BASE","MANTLE","MANTA_PACIFIC","SCROLL","ZETACHAIN","BLAST","HORIZEN_EON","MERLIN","ROOTSTOCK","MODE","ZK_FAIR","ZK_LINK","XLAYER","TAIKO","SEI","CORE","BAHAMUT","BITLAYER","GRAVITY","FRAXTAL","BERACHAIN","SONEIUM","UNICHAIN","MORPH","HEMI","PLASMA","MONAD","HYPER_EVM","MEGAETH","ROBINHOOD","BITCOIN_CASH","NEAR","ICP","CARDANO","AION","ALGORAND","APTOS","ARDOR","ARK","ASTAR","COSMOS","BAND_PROTOCOL","BITCOIN_DIAMOND","BSV","BITCOIN_GOLD","CASPER","DASH","DECRED","DIGI_BYTE","DIVI","DOGECOIN","POLKADOT","MULTIVERS_X","FIO_PROTOCOL","FIRO","FLOW","HEDERA","HELIUM","ICON","IOST","IOTA","KADENA","KOMODO","KUSAMA","LISK","LITECOIN","TERRA","TERRA_CLASSIC","MINA_PROTOCOL","NANO","NEO","OSMOSIS","PIVX","POLYX","QTUM","THOR_CHAIN","RAVENCOIN","SIA","SECRET","STEEM","STRATIS","STACKS","SOLAR","VE_CHAIN","WAVES","WAX","DX_CHAIN","E_CASH","NEM","STELLAR","MONERO","RIPPLE","TEZOS","VERGE","SYMBOL","ZCASH","HORIZEN","ZILLIQA","KAVA_COSMOS","FILECOIN","EOS","ONTOLOGY","XDC","STARKNET","TON","SOLANA","BITCOIN","TRON","SUI"],"isRequired":true,"uniqueKey":"quote.dstTokenBlockchain","typeLabel":"enum\u003cstring>"},"srcTokenBlockchain":{"type":"string","description":"Source token blockchain","default":"ETH","enum":["MUMBAI","BSCT","GOERLI","FUJI","SCROLL_SEPOLIA","ARTHERA","SEPOLIA","BERACHAIN_TESTNET","BLAST_TESTNET","HOLESKY","UNICHAIN_SEPOLIA_TESTNET","ETH","BSC","POLYGON","AVALANCHE","MOONRIVER","FANTOM","HARMONY","ARBITRUM","AURORA","TELOS","OPTIMISM","CRONOS","OKX","GNOSIS","FUSE","MOONBEAM","CELO","BOBA","BOBA_BSC","ASTAR_EVM","KAVA","BITGERT","OASIS","METIS","DEFIKINGDOMS","KLAYTN","VELAS","SYSCOIN","ETHEREUM_CLASSIC","FLARE","IOTEX","THETA","ZK_SYNC","PULSECHAIN","LINEA","BASE","MANTLE","MANTA_PACIFIC","SCROLL","ZETACHAIN","BLAST","HORIZEN_EON","MERLIN","ROOTSTOCK","MODE","ZK_FAIR","ZK_LINK","XLAYER","TAIKO","SEI","CORE","BAHAMUT","BITLAYER","GRAVITY","FRAXTAL","BERACHAIN","SONEIUM","UNICHAIN","MORPH","HEMI","PLASMA","MONAD","HYPER_EVM","MEGAETH","ROBINHOOD","BITCOIN_CASH","NEAR","ICP","CARDANO","AION","ALGORAND","APTOS","ARDOR","ARK","ASTAR","COSMOS","BAND_PROTOCOL","BITCOIN_DIAMOND","BSV","BITCOIN_GOLD","CASPER","DASH","DECRED","DIGI_BYTE","DIVI","DOGECOIN","POLKADOT","MULTIVERS_X","FIO_PROTOCOL","FIRO","FLOW","HEDERA","HELIUM","ICON","IOST","IOTA","KADENA","KOMODO","KUSAMA","LISK","LITECOIN","TERRA","TERRA_CLASSIC","MINA_PROTOCOL","NANO","NEO","OSMOSIS","PIVX","POLYX","QTUM","THOR_CHAIN","RAVENCOIN","SIA","SECRET","STEEM","STRATIS","STACKS","SOLAR","VE_CHAIN","WAVES","WAX","DX_CHAIN","E_CASH","NEM","STELLAR","MONERO","RIPPLE","TEZOS","VERGE","SYMBOL","ZCASH","HORIZEN","ZILLIQA","KAVA_COSMOS","FILECOIN","EOS","ONTOLOGY","XDC","STARKNET","TON","SOLANA","BITCOIN","TRON","SUI"],"isRequired":true,"uniqueKey":"quote.srcTokenBlockchain","typeLabel":"enum\u003cstring>"},"srcTokenAmount":{"type":"string","description":"Source token amount with decimals","example":"1.05","isRequired":true,"uniqueKey":"quote.srcTokenAmount","typeLabel":"string"},"dstTokenAddress":{"type":"string","description":"Destination token address","example":"0x0000000000000000000000000000000000000000","isRequired":true,"uniqueKey":"quote.dstTokenAddress","typeLabel":"string"},"id":{"type":"string","description":"Id of the calculated trade","isRequired":true,"uniqueKey":"quote.id","typeLabel":"string"},"fromAddress":{"type":"string","description":"Wallet address to send funds from.\nCan be empty for swaps via deposit providers.s","isRequired":true,"uniqueKey":"quote.fromAddress","typeLabel":"string"},"receiver":{"type":"string","description":"Wallet address to send tokens to on the destination blockchain","isRequired":true,"uniqueKey":"quote.receiver","typeLabel":"string"},"referrer":{"type":"object","description":"Referrer address","example":"rubic.exchange","default":"rubic.exchange","isRequired":true,"uniqueKey":"quote.referrer","typeLabel":"object"},"nativeBlacklist":{"description":"Native provider-calculation to exclude from calculation","default":[],"type":"array","items":{"type":"string","uniqueKey":"quote.nativeBlacklist.items.[INDEX]","typeLabel":"string"},"uniqueKey":"quote.nativeBlacklist","typeLabel":"string[]"},"enableChecks":{"type":"object","description":"Enable possible gas and wallet errors checks","default":true,"uniqueKey":"quote.enableChecks","typeLabel":"object"},"signature":{"type":"string","description":"Signature to auth wallet","uniqueKey":"quote.signature","typeLabel":"string"},"publicKey":{"type":"string","description":"Public key of bitcoin wallet address","uniqueKey":"quote.publicKey","typeLabel":"string"},"refundAddress":{"type":"string","description":"Address for refunds in src chain in case of reverted deposit trades","uniqueKey":"quote.refundAddress","typeLabel":"string"},"integratorAddress":{"type":"string","description":"Integrator address to set fees","uniqueKey":"quote.integratorAddress","typeLabel":"string"},"slippage":{"type":"number","description":"Slippage tolerance in percents for trade","example":0.02,"maximum":0.5,"uniqueKey":"quote.slippage","typeLabel":"number"},"preferredProvider":{"type":"string","description":"Preferred provider for calculation","enum":["symbiosis","lifi","dln","bridgers","multichain","xy","celer_bridge","changenow","stargate_v2","arbitrum","squidrouter","scroll_bridge","taiko_bridge","rango","pulsechain_bridge","orbiter_bridge","orbiter_bridge_v2","owl_to_bridge","layerzero","archon_bridge","meson","eddy_bridge","router","retro_bridge","across","unizen","simple_swap","changelly","tele_swap","wanchain_bridge","relay","xflows","wormhole","exolix","near_intents","usdt_zero_bridge","houdini_bridge","quickex","rubic_stellar_api","pact_swap","stealthex","mayan","clearswap_bridge","instaswap","baltex","change_hero","xgram","the_change","cce_cash","10K_SWAP","AERODROME","ACRYPTOS","ALDRIN_EXCHANGE","ALGEBRA","ALGEBRA_INTEGRAL","ANNEX","APE_SWAP","ARTH_SWAP","ASTRO_SWAP","ASCENT","AURORA_SWAP","AVNU","AETHON_SWAP","ATLANTIS","AQUARIUS","BABY_SWAP","BALANCER","BASE_SWAP","BEAM_SWAP","BI_SWAP","BRIDGERS","BLAZE_SWAP","BULBA_SWAP","CAMELOT","CETUS","CHERRY_SWAP","CLAIM_SWAP","CLEARSWAP","COFFEE_SWAP","CREMA_FINANCE","CRO_SWAP","CRONA_SWAP","CROPPER_FINANCE","CROW_FI","CRO_DEX","CURVE","CLOBER","DEDUST","DEFI_PLAZA","DEFI_SWAP","DFLOW","DFYN","DLN","DODO","DRAGON_SWAP","DYSTOPIA","ECHO_DEX","EDDY_FINANCE","ELK","ENOSYS","ENOSYS_V3","FENIX_V2","FENIX_V3","FINKUJIRA","FUSIONX","FRAX_SWAP_V2","HONEY_SWAP","HORIZONDEX","HOUDINI","HYPERCAT","JET_SWAP","JOE","JUPITER","JUPITER_SWAP","J_SWAP","KIM","KODIAK","KUJATA","KYBER_SWAP","KYO_FINANCE","LUA_SWAP","LIFI","MACARON","MAVERICK","MDEX","MERLIN_SWAP","MESH_SWAP","MM_FINANCE","MOJITO_SWAP","MUTE_SWAP","NET_SWAP","NATIVE_ROUTER","ODOS","OKC_SWAP","OKU_SWAP","ONE_INCH","ONE_MOON","ONE_SOL","OMNIDEX","OOLONG_SWAP","OPEN_OCEAN","ORCA_SWAP","OSMOSIS_SWAP","OCTO_SWAP","PANCAKE_SWAP","PANCAKE_SWAP_V3","PANGOLIN","PARA_SWAP","PEGASYS","PHOTON_SWAP","POLYDEX","PITEAS","QUICK_SWAP","QUICK_SWAP_V3","PULSEX_V1","PULSEX_V2","RANGO","RAYDIUM","REF_FINANCE","REN_BTC","ROUTER_SWAP","RUBIC_STELLAR_API","SABER_STABLE_SWAP","SAROS_SWAP","SERUM","SHIBA_SWAP","SILK_SWAP","SMOOTHY","SOLANA","SOLAR_BEAM","SPACEFI_SWAP","SPIRIT_SWAP","SPL_TOKEN_SWAP","SPOOKY_SWAP","SOUL_SWAP","STELLA_SWAP","STONFI","SUN_SWAP","SURFDEX","SUSHI_SWAP","SYNAPSE","SYNC_SWAP","SPARK_DEX","SPARK_DEX_V3","SQUIDROUTER","SYMBIOSIS_SWAP","SOROSWAP","TONCO_DEX","TRADER","TRISOLARIS","IZUMI","UBE_SWAP","UNISWAP_V2","UNI_SWAP_V3","UNIZEN","VERSE","VIPER_SWAP","VOLTAGE_SWAP","VOOI","VVS_FINANCE","WAGYU_SWAP","WANNA_SWAP","WAULT_SWAP","WOO_FI","WRAPPED","WYND","WARPX_V2","WARPX_V3","XY_DEX","YUZU_SWAP","ZAPPY","ZIP_SWAP","ZRX","ZETA_SWAP"],"uniqueKey":"quote.preferredProvider","typeLabel":"enum\u003cstring>"},"foreignBlacklist":{"type":"object","description":"Foreign provider-calculation to exclude from calculation","default":{"dflow":[],"lifi":[],"rango":[],"zerox":[]},"properties":{"lifi":{"type":"array","items":{"type":"string","uniqueKey":"quote.foreignBlacklist.lifi.items.[INDEX]","typeLabel":"string"},"uniqueKey":"quote.foreignBlacklist.lifi","typeLabel":"string[]"},"rango":{"type":"array","items":{"type":"string","uniqueKey":"quote.foreignBlacklist.rango.items.[INDEX]","typeLabel":"string"},"uniqueKey":"quote.foreignBlacklist.rango","typeLabel":"string[]"},"zerox":{"type":"array","items":{"type":"string","uniqueKey":"quote.foreignBlacklist.zerox.items.[INDEX]","typeLabel":"string"},"uniqueKey":"quote.foreignBlacklist.zerox","typeLabel":"string[]"},"dflow":{"type":"array","items":{"type":"string","uniqueKey":"quote.foreignBlacklist.dflow.items.[INDEX]","typeLabel":"string"},"uniqueKey":"quote.foreignBlacklist.dflow","typeLabel":"string[]"}},"uniqueKey":"quote.foreignBlacklist","typeLabel":"object"},"timeout":{"type":"number","description":"Calculation timeout in seconds","example":32,"default":30,"minimum":2,"maximum":60,"uniqueKey":"quote.timeout","typeLabel":"number"},"enableTestnets":{"type":"boolean","description":"Use testnets for calculation or not","example":false,"uniqueKey":"quote.enableTestnets","typeLabel":"boolean"},"skipFeeProviders":{"type":"object","description":"Skip providers with fee in route","default":false,"uniqueKey":"quote.skipFeeProviders","typeLabel":"object"},"showFailedRoutes":{"type":"boolean","description":"Show failed routes in response or not","example":false,"default":false,"uniqueKey":"quote.showFailedRoutes","typeLabel":"boolean"},"showDangerousRoutes":{"type":"boolean","description":"Show dangerous routes in response or not","example":false,"default":false,"uniqueKey":"quote.showDangerousRoutes","typeLabel":"boolean"},"providerTags":{"type":"string","enum":["onlyDeposits","notDeposits","onlyPrivate","notPrivate"],"uniqueKey":"quote.providerTags","typeLabel":"enum\u003cstring>"},"useDepositTradeIfAvailable":{"type":"boolean","description":"Use deposit trade if available","uniqueKey":"quote.useDepositTradeIfAvailable","typeLabel":"boolean"}},"required":["srcTokenAddress","dstTokenBlockchain","srcTokenBlockchain","srcTokenAmount","dstTokenAddress","id","fromAddress","receiver","referrer"],"isRequired":true,"uniqueKey":"quote","typeLabel":"object"},"estimate":{"type":"object","properties":{"destinationTokenAmount":{"type":"string","description":"Expected amount of tokens to receive in destination chains","example":"1.05","isRequired":true,"uniqueKey":"estimate.destinationTokenAmount","typeLabel":"string"},"destinationTokenMinAmount":{"type":"string","description":"Minimum amount of tokens to receive in destination chain","example":"1.02","isRequired":true,"uniqueKey":"estimate.destinationTokenMinAmount","typeLabel":"string"},"destinationWeiAmount":{"type":"string","description":"Expected amount of tokens to receive in destination chain in WEI","example":"105000000000000000","isRequired":true,"uniqueKey":"estimate.destinationWeiAmount","typeLabel":"string"},"destinationWeiMinAmount":{"type":"string","description":"Minimum amount of tokens to receive in destination chain in WEI","example":"102000000000000000","isRequired":true,"uniqueKey":"estimate.destinationWeiMinAmount","typeLabel":"string"},"durationInMinutes":{"type":"number","description":"Expected duration of the trade in minutes","example":"5","isRequired":true,"uniqueKey":"estimate.durationInMinutes","typeLabel":"number"},"slippage":{"type":"number","description":"Expected slippage percent","example":"5","isRequired":true,"uniqueKey":"estimate.slippage","typeLabel":"number"},"priceImpact":{"oneOf":[{"type":"number","description":"Price impact","example":"3","isRequired":true,"uniqueKey":"estimate.priceImpact.oneOf.0","typeLabel":"number"},{"type":"null","description":"Price impact","example":"3","isRequired":true,"uniqueKey":"estimate.priceImpact.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"estimate.priceImpact","typeLabel":"number | null"},"intermidiateTokenWeiAmount":{"type":"string","description":"Wei amount of intermidiate token, which is used in Rubic-Private provider","example":"105000000000000000","isRequired":true,"uniqueKey":"estimate.intermidiateTokenWeiAmount","typeLabel":"string"},"destinationUsdAmount":{"type":"number","description":"Expected USD amount of tokens to receive in destination chain","example":"25.31","uniqueKey":"estimate.destinationUsdAmount","typeLabel":"number"},"destinationUsdMinAmount":{"type":"number","description":"Minimum USD amount of tokens to receive in destination chain","example":"25.31","uniqueKey":"estimate.destinationUsdMinAmount","typeLabel":"number"}},"required":["destinationTokenAmount","destinationTokenMinAmount","destinationWeiAmount","destinationWeiMinAmount","durationInMinutes","slippage","priceImpact","intermidiateTokenWeiAmount"],"isRequired":true,"uniqueKey":"estimate","typeLabel":"object"},"fees":{"type":"object","properties":{"gasTokenFees":{"type":"object","properties":{"gas":{"type":"object","properties":{"gasPrice":{"oneOf":[{"type":"string","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.gasPrice.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.gasPrice.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.gasPrice","typeLabel":"string | null"},"baseFee":{"oneOf":[{"type":"string","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.baseFee.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.baseFee.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.baseFee","typeLabel":"string | null"},"maxFeePerGas":{"oneOf":[{"type":"string","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.maxFeePerGas.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.maxFeePerGas.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.maxFeePerGas","typeLabel":"string | null"},"maxPriorityFeePerGas":{"oneOf":[{"type":"string","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.maxPriorityFeePerGas.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.maxPriorityFeePerGas.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.maxPriorityFeePerGas","typeLabel":"string | null"},"gasLimit":{"oneOf":[{"type":"string","description":"Estimated limit in source network in WEI","example":"1000000000000000","uniqueKey":"fees.gasTokenFees.gas.gasLimit.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated limit in source network in WEI","example":"1000000000000000","uniqueKey":"fees.gasTokenFees.gas.gasLimit.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.gasLimit","typeLabel":"string | null"},"totalWeiAmount":{"oneOf":[{"type":"string","description":"Estimated total amount of spent GAS","example":"5020000000000000","uniqueKey":"fees.gasTokenFees.gas.totalWeiAmount.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated total amount of spent GAS","example":"5020000000000000","uniqueKey":"fees.gasTokenFees.gas.totalWeiAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.totalWeiAmount","typeLabel":"string | null"},"totalUsdAmount":{"oneOf":[{"type":"number","description":"Estimated USD amount of spent GAS","example":"15.31","uniqueKey":"fees.gasTokenFees.gas.totalUsdAmount.oneOf.0","typeLabel":"number"},{"type":"null","description":"Estimated USD amount of spent GAS","example":"15.31","uniqueKey":"fees.gasTokenFees.gas.totalUsdAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.totalUsdAmount","typeLabel":"number | null"}},"required":true,"uniqueKey":"fees.gasTokenFees.gas","typeLabel":"object"},"protocol":{"type":"object","properties":{"fixedAmount":{"type":"string","description":"Rubic protocol fee in native tokens","example":"0.00013","uniqueKey":"fees.gasTokenFees.protocol.fixedAmount","typeLabel":"string"},"fixedWeiAmount":{"type":"string","description":"Rubic protocol fee in WEI","example":"130000000000000","uniqueKey":"fees.gasTokenFees.protocol.fixedWeiAmount","typeLabel":"string"},"fixedUsdAmount":{"type":"number","description":"Rubic protocol fee in USD","example":"1.53","uniqueKey":"fees.gasTokenFees.protocol.fixedUsdAmount","typeLabel":"number"}},"required":true,"uniqueKey":"fees.gasTokenFees.protocol","typeLabel":"object"},"provider":{"type":"object","properties":{"fixedAmount":{"type":"string","description":"Provider fee in native tokens","example":"0.00013","uniqueKey":"fees.gasTokenFees.provider.fixedAmount","typeLabel":"string"},"fixedWeiAmount":{"type":"string","description":"Provider fee in WEI","example":"130000000000000","uniqueKey":"fees.gasTokenFees.provider.fixedWeiAmount","typeLabel":"string"},"fixedUsdAmount":{"type":"number","description":"Provider fee in USD","example":"1.53","uniqueKey":"fees.gasTokenFees.provider.fixedUsdAmount","typeLabel":"number"}},"required":true,"uniqueKey":"fees.gasTokenFees.provider","typeLabel":"object"},"nativeToken":{"type":"object","properties":{"address":{"type":"string","description":"Token address","example":"0x0000000000000000000000000000000000000000","uniqueKey":"fees.gasTokenFees.nativeToken.address","typeLabel":"string"},"decimals":{"type":"number","description":"Token decimals","example":18,"uniqueKey":"fees.gasTokenFees.nativeToken.decimals","typeLabel":"number"},"symbol":{"type":"string","description":"Token symbol","example":"ETH","uniqueKey":"fees.gasTokenFees.nativeToken.symbol","typeLabel":"string"},"name":{"type":"string","description":"Token name","example":"Ethereum","uniqueKey":"fees.gasTokenFees.nativeToken.name","typeLabel":"string"},"blockchainId":{"type":"number","description":"Blockchain id","example":"1","uniqueKey":"fees.gasTokenFees.nativeToken.blockchainId","typeLabel":"number"},"blockchain":{"type":"object","description":"Blockchain name","example":"ETH","uniqueKey":"fees.gasTokenFees.nativeToken.blockchain","typeLabel":"object"},"price":{"type":"number","description":"Token price in USD","example":"1.35","uniqueKey":"fees.gasTokenFees.nativeToken.price","typeLabel":"number"}},"required":true,"uniqueKey":"fees.gasTokenFees.nativeToken","typeLabel":"object"}},"isRequired":true,"uniqueKey":"fees.gasTokenFees","typeLabel":"object"},"percentFees":{"type":"object","properties":{"percent":{"type":"number","description":"Percent","isRequired":true,"uniqueKey":"fees.percentFees.percent","typeLabel":"number"},"token":{"oneOf":[{"type":"object","description":"Token","required":["address","decimals","symbol","name","blockchainId","blockchain"],"properties":{"address":{"type":"string","description":"Token address","example":"0x0000000000000000000000000000000000000000","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.address","typeLabel":"string"},"decimals":{"type":"number","description":"Token decimals","example":18,"isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.decimals","typeLabel":"number"},"symbol":{"type":"string","description":"Token symbol","example":"ETH","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.symbol","typeLabel":"string"},"name":{"type":"string","description":"Token name","example":"Ethereum","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.name","typeLabel":"string"},"blockchainId":{"type":"number","description":"Blockchain id","example":"1","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.blockchainId","typeLabel":"number"},"blockchain":{"type":"object","description":"Blockchain name","example":"ETH","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.blockchain","typeLabel":"object"},"price":{"type":"number","description":"Token price in USD","example":"1.35","uniqueKey":"fees.percentFees.token.oneOf.0.price","typeLabel":"number"}},"isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"fees.percentFees.token","typeLabel":"object | null"}},"required":["percent","token"],"isRequired":true,"uniqueKey":"fees.percentFees","typeLabel":"object"}},"required":["gasTokenFees","percentFees"],"isRequired":true,"uniqueKey":"fees","typeLabel":"object"},"transaction":{"type":"object","properties":{"approvalAddress":{"type":"string","description":"Gateway address to approve erc20 token","uniqueKey":"transaction.approvalAddress","typeLabel":"string"},"permit2Address":{"type":"string","description":"","uniqueKey":"transaction.permit2Address","typeLabel":"string"},"data":{"type":"string","description":"Data to execute","uniqueKey":"transaction.data","typeLabel":"string"},"to":{"type":"string","description":"Contract to call","uniqueKey":"transaction.to","typeLabel":"string"},"value":{"type":"string","description":"","uniqueKey":"transaction.value","typeLabel":"string"},"depositAddress":{"type":"string","description":"Address to deposit funds to","uniqueKey":"transaction.depositAddress","typeLabel":"string"},"amountToSend":{"type":"string","description":"Token amount to send to deposit address","uniqueKey":"transaction.amountToSend","typeLabel":"string"},"extraFields":{"type":"object","description":"Extra fields to perform the transaction","uniqueKey":"transaction.extraFields","typeLabel":"object"},"exchangeId":{"type":"string","description":"","uniqueKey":"transaction.exchangeId","typeLabel":"string"},"tonMessages":{"description":"Messages array for tonConnectUI.sendTransaction() call","type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"In default transfer - it's a receiverWalletAddress to send funds. In tx using contracts - it's a jettonWalletAddress (like ERC-20, but in TON)","isRequired":true,"uniqueKey":"transaction.tonMessages.items.[INDEX].address","typeLabel":"string"},"amount":{"type":"string","description":"Amount to send tx in nanotons. In default trasfer - it's a transfered value + gasFee. \nIn tx using contracts - it's static gasFee, by default toNano(0.05).toString()","isRequired":true,"uniqueKey":"transaction.tonMessages.items.[INDEX].amount","typeLabel":"string"},"payload":{"type":"string","description":"Data for contract.","uniqueKey":"transaction.tonMessages.items.[INDEX].payload","typeLabel":"string"},"stateInit":{"type":"string","uniqueKey":"transaction.tonMessages.items.[INDEX].stateInit","typeLabel":"string"}},"required":["address","amount"],"uniqueKey":"transaction.tonMessages.items.[INDEX]","typeLabel":"object"},"uniqueKey":"transaction.tonMessages","typeLabel":"object[]"},"psbt":{"type":"string","description":"Unsigned psbt bitcoin transaction","uniqueKey":"transaction.psbt","typeLabel":"string"},"signInputs":{"description":"Indexes of inputs which user have to sign","type":"array","items":{"type":"number","uniqueKey":"transaction.signInputs.items.[INDEX]","typeLabel":"number"},"uniqueKey":"transaction.signInputs","typeLabel":"number[]"},"feeLimit":{"type":"number","description":"Fee limit for tron blockchain","uniqueKey":"transaction.feeLimit","typeLabel":"number"},"callValue":{"type":"string","description":"Native token value for tron blockchain","uniqueKey":"transaction.callValue","typeLabel":"string"},"signature":{"type":"string","description":"Function signature of tron transaction","uniqueKey":"transaction.signature","typeLabel":"string"},"arguments":{"description":"","type":"array","items":{"type":"string","uniqueKey":"transaction.arguments.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transaction.arguments","typeLabel":"string[]"},"rawParameter":{"type":"string","description":"Encoded tron transaction arguments","uniqueKey":"transaction.rawParameter","typeLabel":"string"},"transaction":{"type":"string","description":"Fee limit for tron blockchain","uniqueKey":"transaction.transaction","typeLabel":"string"}},"isRequired":true,"uniqueKey":"transaction","typeLabel":"object"},"warnings":{"description":"Specific info about quote params provide","type":"array","items":{"type":"object","properties":{},"uniqueKey":"warnings.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"warnings","typeLabel":"object[]"},"routing":{"type":"array","items":{"type":"object","properties":{"type":{"type":"object","description":"Swap type","isRequired":true,"uniqueKey":"routing.items.[INDEX].type","typeLabel":"object"},"provider":{"type":"string","description":"Provider name","isRequired":true,"uniqueKey":"routing.items.[INDEX].provider","typeLabel":"string"},"path":{"description":"Tokens path","type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"Token address","example":"0x0000000000000000000000000000000000000000","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].address","typeLabel":"string"},"decimals":{"type":"number","description":"Token decimals","example":18,"isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].decimals","typeLabel":"number"},"symbol":{"type":"string","description":"Token symbol","example":"ETH","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].symbol","typeLabel":"string"},"name":{"type":"string","description":"Token name","example":"Ethereum","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].name","typeLabel":"string"},"blockchainId":{"type":"number","description":"Blockchain id","example":"1","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].blockchainId","typeLabel":"number"},"blockchain":{"type":"object","description":"Blockchain name","example":"ETH","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].blockchain","typeLabel":"object"},"amount":{"type":"string","description":"Token amount","example":"0.00123","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].amount","typeLabel":"string"},"price":{"type":"number","description":"Token price in USD","example":"1.35","uniqueKey":"routing.items.[INDEX].path.items.[INDEX].price","typeLabel":"number"}},"required":["address","decimals","symbol","name","blockchainId","blockchain","amount"],"uniqueKey":"routing.items.[INDEX].path.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"routing.items.[INDEX].path","typeLabel":"object[]"}},"required":["type","provider","path"],"uniqueKey":"routing.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"routing","typeLabel":"object[]"},"providerType":{"type":"object","isRequired":true,"uniqueKey":"providerType","typeLabel":"object"},"swapType":{"type":"object","isRequired":true,"uniqueKey":"swapType","typeLabel":"object"},"useRubicContract":{"type":"boolean","isRequired":true,"uniqueKey":"useRubicContract","typeLabel":"boolean"},"private":{"type":"boolean","isRequired":true,"uniqueKey":"private","typeLabel":"boolean"},"uniqueInfo":{"type":"object","properties":{"changenowId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.changenowId","typeLabel":"string"},"changellyId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.changellyId","typeLabel":"string"},"simpleSwapId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.simpleSwapId","typeLabel":"string"},"squidrouterRequestId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.squidrouterRequestId","typeLabel":"string"},"rangoRequestId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.rangoRequestId","typeLabel":"string"},"retrobridgeId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.retrobridgeId","typeLabel":"string"},"relayId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.relayId","typeLabel":"string"},"exolixId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.exolixId","typeLabel":"string"},"quickexId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.quickexId","typeLabel":"string"},"acrossId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.acrossId","typeLabel":"string"},"nearIntentsId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.nearIntentsId","typeLabel":"string"},"houdiniId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.houdiniId","typeLabel":"string"},"clearswapId":{"type":"string","uniqueKey":"uniqueInfo.clearswapId","typeLabel":"string"},"stealthexId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.stealthexId","typeLabel":"string"},"changeHeroId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.changeHeroId","typeLabel":"string"},"xgramId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.xgramId","typeLabel":"string"},"instaswapId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.instaswapId","typeLabel":"string"},"baltexId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.baltexId","typeLabel":"string"},"theChangeId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.theChangeId","typeLabel":"string"},"cceCashId":{"type":"string","deprecated":true,"uniqueKey":"uniqueInfo.cceCashId","typeLabel":"string"}},"uniqueKey":"uniqueInfo","typeLabel":"object"}},"required":["quote","estimate","fees","transaction","warnings","routing","providerType","swapType","useRubicContract","private"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"quote":{"srcTokenAddress":"\u003cstring>","dstTokenBlockchain":"POLYGON","srcTokenBlockchain":"ETH","srcTokenAmount":"1.05","dstTokenAddress":"0x0000000000000000000000000000000000000000","id":"\u003cstring>","fromAddress":"\u003cstring>","receiver":"\u003cstring>","referrer":"rubic.exchange","nativeBlacklist":[],"enableChecks":true,"signature":"\u003cstring>","publicKey":"\u003cstring>","refundAddress":"\u003cstring>","integratorAddress":"\u003cstring>","slippage":0.02,"preferredProvider":"symbiosis","foreignBlacklist":{"dflow":[],"lifi":[],"rango":[],"zerox":[]},"timeout":32,"enableTestnets":false,"skipFeeProviders":false,"showFailedRoutes":false,"showDangerousRoutes":false,"providerTags":"onlyDeposits","useDepositTradeIfAvailable":true},"estimate":{"destinationTokenAmount":"1.05","destinationTokenMinAmount":"1.02","destinationWeiAmount":"105000000000000000","destinationWeiMinAmount":"102000000000000000","durationInMinutes":"5","slippage":"5","priceImpact":"3","intermidiateTokenWeiAmount":"105000000000000000","destinationUsdAmount":"25.31","destinationUsdMinAmount":"25.31"},"fees":{"gasTokenFees":{"gas":{"gasPrice":"1000000000000000000","baseFee":"1000000000000000000","maxFeePerGas":"1000000000000000000","maxPriorityFeePerGas":"1000000000000000000","gasLimit":"1000000000000000","totalWeiAmount":"5020000000000000","totalUsdAmount":"15.31"},"protocol":{"fixedAmount":"0.00013","fixedWeiAmount":"130000000000000","fixedUsdAmount":"1.53"},"provider":{"fixedAmount":"0.00013","fixedWeiAmount":"130000000000000","fixedUsdAmount":"1.53"},"nativeToken":{"address":"0x0000000000000000000000000000000000000000","decimals":18,"symbol":"ETH","name":"Ethereum","blockchainId":"1","blockchain":"ETH","price":"1.35"}},"percentFees":{"percent":123,"token":{"address":"0x0000000000000000000000000000000000000000","decimals":18,"symbol":"ETH","name":"Ethereum","blockchainId":"1","blockchain":"ETH","price":"1.35"}}},"transaction":{"approvalAddress":"\u003cstring>","permit2Address":"\u003cstring>","data":"\u003cstring>","to":"\u003cstring>","value":"\u003cstring>","depositAddress":"\u003cstring>","amountToSend":"\u003cstring>","extraFields":{},"exchangeId":"\u003cstring>","tonMessages":[{"address":"\u003cstring>","amount":"\u003cstring>","payload":"\u003cstring>","stateInit":"\u003cstring>"}],"psbt":"\u003cstring>","signInputs":[123],"feeLimit":123,"callValue":"\u003cstring>","signature":"\u003cstring>","arguments":["\u003cstring>"],"rawParameter":"\u003cstring>","transaction":"\u003cstring>"},"warnings":[{}],"routing":[{"type":{},"provider":"\u003cstring>","path":[{"address":"0x0000000000000000000000000000000000000000","decimals":18,"symbol":"ETH","name":"Ethereum","blockchainId":"1","blockchain":"ETH","amount":"0.00123","price":"1.35"}]}],"providerType":{},"swapType":{},"useRubicContract":true,"private":true,"uniqueInfo":{"changenowId":"\u003cstring>","changellyId":"\u003cstring>","simpleSwapId":"\u003cstring>","squidrouterRequestId":"\u003cstring>","rangoRequestId":"\u003cstring>","retrobridgeId":"\u003cstring>","relayId":"\u003cstring>","exolixId":"\u003cstring>","quickexId":"\u003cstring>","acrossId":"\u003cstring>","nearIntentsId":"\u003cstring>","houdiniId":"\u003cstring>","clearswapId":"\u003cstring>","stealthexId":"\u003cstring>","changeHeroId":"\u003cstring>","xgramId":"\u003cstring>","instaswapId":"\u003cstring>","baltexId":"\u003cstring>","theChangeId":"\u003cstring>","cceCashId":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"f5ccff6f-a36c-4182-88b6-d14f35b027ce":{"url":"https://api-v2.rubic.exchange","description":"Production"}}},"originalFileLocation":"https://api-v2.rubic.exchange/api/routes/swagger/json"},"subdomain":"rubic-6226db21","siteName":"Rubic Documentation","title":"Get swap data via deposit - Rubic Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-07T11:15:48.041Z","originalFileLocation":"api-reference/router/get-swap-data-via-deposit.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=\"Using this endpoint, you can get the deposit data required to perform a manual transfer to a selected deposit-based provider. The response includes the depositAddress, amountToSend, exchangeId, and optional extraFields, which can be used to manually send funds from the wallet. This data is generated based on the route selected in the previous step and is intended for providers that require a direct deposit instead of an on-chain swap transaction.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Rubic 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/rubic-6226db21/UuFR4ImyL6ke-lqP/_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/rubic-6226db21/UuFR4ImyL6ke-lqP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rubic-6226db21/UuFR4ImyL6ke-lqP/_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/rubic-6226db21/UuFR4ImyL6ke-lqP/_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/rubic-6226db21/UuFR4ImyL6ke-lqP/_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/rubic-6226db21/UuFR4ImyL6ke-lqP/_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/rubic-6226db21/UuFR4ImyL6ke-lqP/_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/rubic-6226db21/UuFR4ImyL6ke-lqP/_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/rubic-6226db21/UuFR4ImyL6ke-lqP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get swap data via deposit - Rubic Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Using this endpoint, you can get the deposit data required to perform a manual transfer to a selected deposit-based provider. The response includes the depositAddress, amountToSend, exchangeId, and optional extraFields, which can be used to manually send funds from the wallet. This data is generated based on the route selected in the previous step and is intended for providers that require a direct deposit instead of an on-chain swap transaction.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rubic Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.rubic.finance/api-reference/router/get-swap-data-via-deposit\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rubic-6226db21.mintlify.app/_mintlify/api/og/v2?division=Get+transaction\u0026amp;title=Get+swap+data+via+deposit\u0026amp;description=Using+this+endpoint%2C+you+can+get+the+deposit+data+required+to+perform+a+manual+transfer+to+a+selected+deposit-based+provider.+The+response+includes+the+depositA\u0026amp;theme=4fd0678fa1bb4c53ed385600\u0026amp;signature=6a27bb07e0e2b58fc1677d7318794125cb6834e24a488d4d9f731a3b8ecacc73\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get swap data via deposit - Rubic Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Using this endpoint, you can get the deposit data required to perform a manual transfer to a selected deposit-based provider. The response includes the depositAddress, amountToSend, exchangeId, and optional extraFields, which can be used to manually send funds from the wallet. This data is generated based on the route selected in the previous step and is intended for providers that require a direct deposit instead of an on-chain swap transaction.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rubic-6226db21.mintlify.app/_mintlify/api/og/v2?division=Get+transaction\u0026amp;title=Get+swap+data+via+deposit\u0026amp;description=Using+this+endpoint%2C+you+can+get+the+deposit+data+required+to+perform+a+manual+transfer+to+a+selected+deposit-based+provider.+The+response+includes+the+depositA\u0026amp;theme=4fd0678fa1bb4c53ed385600\u0026amp;signature=6a27bb07e0e2b58fc1677d7318794125cb6834e24a488d4d9f731a3b8ecacc73\">\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/rubic-6226db21/UuFR4ImyL6ke-lqP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Rubic Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00e28e\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.rubic.finance/api-reference/router/get-swap-data-via-deposit\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/router/get-swap-data-via-deposit.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.rubic.finance/#organization\",\"name\":\"Rubic Documentation\",\"url\":\"https://docs.rubic.finance\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/rubic-6226db21/cPgsHa9BYUYbp7_c/logo/rubic-logo-light.svg?fit=max\u0026auto=format\u0026n=cPgsHa9BYUYbp7_c\u0026q=85\u0026s=a8200366272cc20dd0f104d7c91b826a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.rubic.finance#website\",\"name\":\"Rubic Documentation\",\"url\":\"https://docs.rubic.finance\",\"publisher\":{\"@id\":\"https://docs.rubic.finance/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.rubic.finance/api-reference/router/get-swap-data-via-deposit#webpage\",\"url\":\"https://docs.rubic.finance/api-reference/router/get-swap-data-via-deposit\",\"name\":\"Get swap data via deposit\",\"description\":\"Using this endpoint, you can get the deposit data required to perform a manual transfer to a selected deposit-based provider. The response includes the depositAddress, amountToSend, exchangeId, and optional extraFields, which can be used to manually send funds from the wallet. This data is generated based on the route selected in the previous step and is intended for providers that require a direct deposit instead of an on-chain swap transaction.\",\"dateModified\":\"2026-10-07T11:15:48.041Z\",\"isPartOf\":{\"@id\":\"https://docs.rubic.finance#website\"},\"breadcrumb\":{\"@id\":\"https://docs.rubic.finance/api-reference/router/get-swap-data-via-deposit#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.rubic.finance/api-reference/router/get-swap-data-via-deposit#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Router\",\"item\":\"https://docs.rubic.finance/api-reference/router/get-all-available-quotes\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get transaction\",\"item\":\"https://docs.rubic.finance/api-reference/router/get-swap-data\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get swap data via deposit\",\"item\":\"https://docs.rubic.finance/api-reference/router/get-swap-data-via-deposit\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.rubic.finance/api-reference/router/get-swap-data-via-deposit#apireference\",\"headline\":\"Get swap data via deposit\",\"name\":\"Get swap data via deposit\",\"description\":\"Using this endpoint, you can get the deposit data required to perform a manual transfer to a selected deposit-based provider. The response includes the depositAddress, amountToSend, exchangeId, and optional extraFields, which can be used to manually send funds from the wallet. This data is generated based on the route selected in the previous step and is intended for providers that require a direct deposit instead of an on-chain swap transaction.\",\"url\":\"https://docs.rubic.finance/api-reference/router/get-swap-data-via-deposit\",\"mainEntityOfPage\":{\"@id\":\"https://docs.rubic.finance/api-reference/router/get-swap-data-via-deposit#webpage\"},\"dateModified\":\"2026-10-07T11:15:48.041Z\",\"publisher\":{\"@id\":\"https://docs.rubic.finance/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.rubic.finance#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Rubic Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Rubic Documentation","nav":{"global":null,"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/rubic/overview/overview"}]},{"tab":"API Documentation","groups":[{"group":"About","pages":[{"title":"Overview","icon":"lightbulb-on","href":"/api-docs/about/overview"},{"title":"Referrer and Rate limits","icon":"gear","href":"/api-docs/about/referrer"},{"title":"Swagger \u0026 OpenAPI","icon":"globe-pointer","href":"/api-docs/about/open-api"},{"group":"Core concepts","expanded":true,"pages":[{"title":"Understanding Flow Execution","icon":"arrow-progress","href":"/api-docs/about/core-concepts/understanding-flow-execution"},{"title":"Refunds","icon":"hand-holding-dollar","href":"/api-docs/about/core-concepts/refunds"},{"title":"Error Handling","icon":"screwdriver-wrench","href":"/api-docs/about/core-concepts/error-handling"}]},{"group":"Monetization","expanded":false,"pages":[{"title":"Monetization","icon":"chart-mixed-up-circle-dollar","href":"/api-docs/about/monetization/overview"},{"title":"Fee sharing via decentralized providers","icon":"coins","href":"/api-docs/about/monetization/evm"},{"title":"Fee sharing via deposit-based providers","icon":"bitcoin-sign","href":"/api-docs/about/monetization/non-evm"}]}]},{"group":"Router","pages":[{"group":"Request quote","expanded":true,"pages":[{"title":"Get all available quotes","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/quoteAll","href":"/api-reference/router/get-all-available-quotes"},{"title":"Get best quote","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/quoteBest","href":"/api-reference/router/get-best-quote"},{"title":"Get all available quotes via deposit","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/quoteDepositTrades","href":"/api-reference/router/get-all-available-quotes-via-deposit"}]},{"group":"Get transaction","expanded":true,"pages":[{"title":"Get swap data","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/swap","href":"/api-reference/router/get-swap-data"},{"title":"Get swap data for the best quote","description":"Using this endpoint, you can get the transaction data for executing the best available swap route. The router automatically selects the route with the highest expected swap output and returns the corresponding transaction data, ready to be sent from the user’s wallet.","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/swapBest","href":"/api-reference/router/get-swap-data-for-the-best-quote"},{"title":"Get swap data via deposit","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/swapDepositTrade","href":"/api-reference/router/get-swap-data-via-deposit"}]}]},{"group":"General","pages":[{"title":"Get chains list","description":"This endpoint returns a list of supported blockchains available for exchange and transactions in the Rubic API. Each blockchain object contains a name, an identifier, list of providers that support this blockchain, the type of blockchain and whether fee collection is available in this blockchain (proxyAvailable field)","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/info/chains","href":"/api-reference/info/get-chains-list"},{"title":"Get available providers","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/info/providers","href":"/api-reference/info/get-available-providers"},{"group":"Transaction status","expanded":true,"pages":[{"title":"Get transaction status","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/info/statusExtended","href":"/api-reference/info/get-transaction-status"},{"title":"Transaction Statuses Explained","href":"/api-docs/general/status/explain"}]},{"group":"Utility","expanded":true,"pages":[{"title":"Health check","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/healthcheck","href":"/api-reference/utility/health-check"},{"title":"Get allowance","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/allowance","href":"/api-reference/utility/get-allowance"},{"title":"Get approve info","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/checkApprove","href":"/api-reference/utility/get-approve-info"},{"title":"Get celer refund data","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/celerRefund","href":"/api-reference/utility/get-celer-refund-data"},{"title":"Get claim tokens data","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/claim","href":"/api-reference/utility/get-claim-tokens-data"},{"title":"Get message to auth wallet","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/authWalletMessage","href":"/api-reference/utility/get-message-to-auth-wallet"}]}]},{"group":"Guides","pages":[{"title":"Prevent dangerous routes","href":"/api-docs/guides/dangerous-routes"},{"title":"Handling amount changes during swap","href":"/api-docs/guides/handling-amount-change"}]},{"group":"Integration Examples","pages":[{"title":"Swaps from EVM","icon":"ethereum","href":"/docs/api-docs/integration-examples/swaps-from-evm"},{"title":"Swaps from Solana","icon":"crystal-ball","href":"/docs/api-docs/integration-examples/swaps-from-solana"},{"title":"Swaps from TON","icon":"gem","href":"/docs/api-docs/integration-examples/swaps-from-ton"},{"title":"Swaps from Tron","icon":"hexagon-check","href":"/docs/api-docs/integration-examples/swaps-from-tron"},{"title":"Swaps from Bitcoin","icon":"bitcoin","href":"/docs/api-docs/integration-examples/swaps-from-bitcoin"},{"title":"Swaps via Deposit","icon":"square-down","href":"/docs/api-docs/integration-examples/swaps-via-deposit"}]},{"group":"Tokens API","pages":[{"title":"Tokens API","icon":"coins","href":"/docs/token-api/token-api"}]}]},{"tab":"SDK Documentation","pages":[{"title":"SDK Documentation","href":"/rubic-sdk"}]},{"tab":"MCP Documentation","pages":[{"title":"MCP Documentation","href":"/mcp-docs/overview"}]}]},"basePath":"","title":"Get swap data via deposit - Rubic Documentation","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}