Rango

Rango DEX and Bridge Aggregation for Cross-Chain Swaps

Rango combines decentralized exchanges and bridges to swap crypto within a blockchain or move it between supported networks. Its routing engine searches available liquidity and prepares transactions for execution through connected wallets. A cross-chain route can combine token conversion with a bridge transfer. The selected assets, receiving network and available providers determine which paths it can offer.

· updated

Access comes through the swap app, integrations inside wallets and an embeddable widget, with application programming interfaces (APIs) and software development kits (SDKs) available to developers. Wallet compatibility, fee funding and destination requirements affect execution. An initial quote describes an available path; completion requires the relevant transactions to succeed.

Same-Chain Trades and Cross-Chain Transfers

A same-chain swap exchanges assets on one network, while a cross-chain route delivers an asset on another supported network. Select the destination blockchain alongside the token because a familiar symbol doesn’t make balances on different networks interchangeable. The receiving wallet or service must accept the selected network and token form. Asset identification includes the blockchain and a contract address where applicable.

The routing engine supports Ethereum Virtual Machine (EVM) networks, Bitcoin, Solana and Cosmos ecosystems. A cross-chain path needs a supported transfer mechanism and may include swaps before or after that transfer. Overall network coverage doesn’t establish a working route for every token pair or amount.


Wallet Compatibility and Destination Readiness

Wallet compatibility means being able to authorize the transaction types a selected route requires, including any later user-signed steps. A displayed address doesn’t establish signing support for every network. Multi-step routes may need connected addresses and native gas on intermediate chains, with any required destination setup completed before the source transfer begins.

Routes into non-native tokens on Stellar or XRP Ledger can require a receiving trustline to the token issuer. A trustline permits the account to hold that issued asset, and any returned trustline prerequisite must be completed before broadcasting the main swap. This differs from permitting a source-chain contract to spend tokens.

Visual summary: Wallet Compatibility and Destination Readiness (Rango)

Open full-size image

The Swap App, Wallet Integrations and Widgets

The swap app provides direct access to the aggregator, while API-based wallet integrations place routing inside another application’s swap interface. An embeddable widget adds a configurable swap interface to a website or decentralized application. Because its host can limit source chains, destination chains, liquidity providers and wallet choices, available routes reflect that integration’s settings. Seeing the same aggregator name in different interfaces doesn’t establish identical coverage or fee configuration.

Rango - The Swap App, Wallet Integrations and Widgets - diagram
The Swap App, Wallet Integrations and Widgets, illustrated.

Open full-size image


Single-Step Routes and Multi-Step Execution

A single main transaction can contain several logical operations when supported contracts and message-passing protocols coordinate them. The Basic API is designed for routes executed through a single main swap transaction. Separate approval or destination setup transactions may precede a combined swap and bridge transaction. Cross-chain processing continues after submission, so one main signature doesn’t establish immediate settlement.

The Main API supports routes with multiple user-executed steps, where required transactions need signatures and later steps follow earlier successful ones. Those paths bring additional wallet and gas requirements. The Basic API’s deposit-transaction option restricts routing to paths executable through a plain transfer to a deposit address, excluding incompatible routes.

What Determines the Amount You Receive?

The amount you receive depends on available liquidity, price movement and fees along the selected route. A quote includes expected output, a minimum-output field and estimated completion time. The minimum reflects the quoted slippage tolerance, while the timing field predicts processing. Slippage tolerance sets an execution boundary for the quoted swaps; it doesn’t guarantee settlement of a bridge transfer.

Network fees pay for blockchain execution and underlying protocols can charge service fees, even though the standalone app charges no added app fee. Wallet and widget integrations can add configured affiliate or protocol fees. Some charges reduce output, while others need payment from a source or destination wallet. Read the fee’s asset and deduction method to avoid subtracting an already deducted charge again. Excluding providers requiring native-token service fees doesn’t eliminate network gas costs.

Liquidity Pools, Burn-and-Mint Transfers and Messaging

Rango connects transfer mechanisms including cross-chain liquidity pools, burn-and-mint protocols and request-for-quote systems. Each provider determines how assets move and which tokens it accepts. Inter-Blockchain Communication (IBC) supports transfers and messages between compatible networks in the Cosmos ecosystem. Message-passing integrations can also coordinate destination-chain actions alongside a transfer. Developers can attach a cross-chain message through supported API functionality, with compatible contracts and messaging providers.


Quote-to-Receipt Stages When the Gas Balance Is Missing

Consider a hypothetical swap through a Basic API integration with balance and fee validation enabled. The wallet holds the selected input asset but lacks the native asset required for the source network fee. This missing balance prevents execution even if a quote is available.

The initial quote returns a route and estimated output, but transaction creation checks fee funding and exposes the missing balance.

Stage Operation and Evidence Condition for Progress
Select Assets Identify the source asset, output asset and receiving network. The selected assets must match the intended networks.
Obtain a Quote Receive a route and expected output. The amount and route must satisfy applicable limits and filters.
Create Transaction Data Validation detects the missing network-fee balance. This attempt stops before the main transaction is submitted.
Complete Prerequisites After successfully retrying transaction creation, confirm any required approvals or destination setup. Required permissions and receiving-account readiness must exist first.
Submit the Main Transaction Sign and broadcast the prepared swap transaction. A transaction hash alone doesn’t prove delivery.
Track the Output Status tracking identifies the outcome and any reported received asset and amount. The final outcome establishes delivery or the reported failure result.
Retry Boundary Correct the missing fee balance and refresh the route. The original main transaction remains unsubmitted.

This rejection occurs before assets enter the bridge. It doesn’t establish a refund event, because the main transaction hasn’t been broadcast.

Before retrying transaction creation, fund the missing network-fee balance and request a fresh route. The new output and fee requirements may differ, and any returned prerequisite transactions still precede the main swap.

If a main transaction was already broadcast, this example no longer applies. Resolve its status before initiating another transfer that could duplicate the original operation.


Does Non-Custodial Swapping Remove Bridge Risk?

Non-custodial swapping doesn’t remove the smart-contract and bridge risks a selected route carries. Rango prepares transactions for wallet signing without requiring a hosted trading balance. Connecting a wallet and approving token spending are different actions; an approval authorizes a contract to spend up to the permitted amount. Examine the actual request’s recipient, spender and approved amount.

Rango publishes smart-contract audit reports and uses health checks to remove unhealthy protocols from routing. An audit covers particular code and findings; it doesn’t insure every connected bridge. Public wallet addresses and transaction records expose on-chain activity, and the service also collects usage and device information. Wallet-based access shouldn’t be treated as anonymous browsing.


Pending Routes, Refunds and Recovery Limits

A pending bridge stage leaves a cross-chain route unresolved even when the source transaction succeeded. A failed aggregated swap can leave an intermediate asset on the source or destination chain. When available, the status output identifies intended delivery, returned input or intermediate tokens. The received asset, network and amount describe the actual balance; the original quote doesn’t establish what arrived.

Recovery follows the failure location and provider process, which can require user action through a bridge’s refund interface. Route-specific diagnosis can explain a required intervention; reconnecting a wallet doesn’t itself reverse an on-chain transaction. Any subsequent swap must start from the asset and balance actually available on its present network.

Pending Routes, Refunds and Recovery Limits (Rango)
Illustration: Pending Routes, Refunds and Recovery Limits.

Open full-size image

Rango: common questions

Does Rango Require Identity Verification for Every Swap?

Identity checks can apply to routes using a centralized provider enabled by an integration. The APIs exclude centralized swappers by default. If an integration enables them, a provider’s compliance screening can require identity verification and hold funds pending those checks.

Can I Send the Output to a Different Wallet Address?

The output can go to a custom destination address when the interface and selected route support that option. The API distinguishes source and destination wallets, and the widget can enable custom destinations. The recipient must accept the destination network and asset. A receiving exchange’s deposit requirements also remain relevant.

Why Did an Approval Succeed While the Swap Remains Blocked?

A successful approval can leave the permitted spending amount below what the swap requires. This can happen if the approved amount was reduced in the wallet. The approval checker distinguishes transaction status from whether the current allowance meets the required allowance.

Do I Need an API Key to Swap Through the App?

An ordinary user doesn’t need to obtain an API key to swap through the app. API keys belong to the integration making requests behind the interface. Developers building an API or widget integration need the appropriate key and configuration. A public test key shouldn’t become a deployed integration’s production credential.

Which Details Help Support Locate a Failed Swap?

The request identifier and transaction hash help support locate a swap and its execution record. Include the source and destination networks and the displayed error. An integrator may also have a trace identifier for an API error. A seed phrase or private key isn’t needed to identify the request.

What Causes ’No Route’ for an Otherwise Supported Token?

A supported token can lack a usable route for the selected amount, destination or provider settings. Underlying protocols can impose input limits, and liquidity may not connect the requested assets. An input-limit response can report the applicable minimum and maximum.