Rubicexchange

Rubicexchange: Token swaps within and across chains

Rubicexchange combines decentralized exchanges, bridges, and privacy solutions to exchange tokens within one blockchain or across supported networks. Its Best Rate Finder brings different providers into one interface, while API and SDK tools expose swap functionality to applications. Same-chain exchange, cross-chain transfer, and privacy-focused execution serve different purposes. Network support, provider availability, and the chosen execution model determine which combination can handle a particular swap.

Updated on

How do Rubicexchange’s swap options and access tools differ?

Swap options determine what happens to the assets, while access tools connect those functions to an application. Exchanging tokens within one network calls for on-chain functionality. Moving between networks calls for cross-chain support. A privacy requirement adds a choice of privacy provider, with its own technology and supported assets.

How do Rubicexchange’s swap options and access tools differ?
Option Function and boundary
Same-chain swaps Exchange tokens within one blockchain through supported DEXs.
Cross-chain swaps Exchange assets between supported networks; availability and execution depend on the route.
Private Mode Compare privacy providers with different technologies, costs, and network coverage.
All Chains View assets and available tokens across supported networks.
Receiver-only non-EVM access Enter a recipient address without a separate receiving-wallet login.
API integration Request quotes, execution data, and transaction status for an application.
SDK integration Use a software library wrapping the API’s swap functions.

These choices can overlap. An application may expose both swap types through an API integration. All Chains supports asset discovery in Rubic’s app, and the selected route governs execution. A privacy provider’s supported networks still govern the swaps it can handle.


DEX, bridge, and intent protocol aggregation

DEXs exchange tokens on a blockchain, bridges connect chains, and intent protocols use solvers to fulfill a user’s requested swap outcome. Aggregation brings these components together without making their functions interchangeable. A route may need exchange functionality, cross-chain movement, or a combination. The available providers determine how those functions fit together for the requested tokens and networks.

Smart routing connects these services through a coordinated multi-hop swap. That integration reduces the need to interact separately with individual DEXs and bridges. It doesn’t make every cross-chain trade share the same execution method. Contract-based and deposit-based routes remain distinct, and their requirements follow the selected provider and blockchain combination.

A swap widget is an embedded access point, with routing coordinating provider choice and execution behind the interface.

Private Mode and transaction visibility

The Private Mode beta compares privacy-focused providers whose technologies, execution times, costs, and supported networks differ.

Provider technology

Some privacy solutions use decentralized mechanisms; others route through centralized exchanges. The interface compares underlying technology alongside estimated time, fees, and required interactions. A provider requiring preparation such as shielding tokens presents a different task from one offering a direct exchange.

Asset coverage and privacy scope

Privacy-focused execution addresses the visibility of trading activity, holdings, and connections between wallets. Its scope follows the chosen mechanism. Support for Monero, Zcash, and Dash is part of the platform’s broader network coverage, not proof every private provider handles those networks. Provider-specific coverage and privacy properties belong together when comparing options. A private route also doesn’t establish a universal exemption from identity checks.


EVM and non-EVM asset support

Supported networks include both Ethereum Virtual Machine, or EVM, chains and networks using different execution systems. The toolkit covers non-EVM environments including Bitcoin, Solana, TRON, TON, and Stellar. This breadth lets applications offer exchanges spanning different blockchain architectures. It doesn’t establish that every token is available in every direction. The relevant combination includes the input token and network, destination token and network, and providers connecting them. Network identity matters alongside the asset name because a swap’s destination must match the intended blockchain.

Rubicexchange - EVM and non-EVM asset support
Visual summary: EVM and non-EVM asset support.

View image file

Network and token additions expand the available choices over time. All Chains helps expose that coverage, while route discovery determines whether a particular exchange is available. A platform-wide network list and a provider’s supported destinations describe different levels of compatibility.

All Chains and receiver-only wallet access

All Chains brings assets and available tokens from supported networks into a unified view. The view helps identify what exists across networks; it doesn’t grant permission to spend a balance. Receiving on a non-EVM chain can use a different access pattern from sending on it. A non-EVM wallet used only as a recipient doesn’t require a separate login for a supported swap. Entering its address supplies the destination, while the selected route governs how the source transaction executes.

Receiving-address entry doesn’t establish access to funds already held in that wallet or authorize another transaction from it.


API and SDK integration

The API supplies swap information and execution data, while the SDK packages those functions for application developers.

Quote and execution data

Quote requests return possible routes, expected output, and fees. Execution-data requests prepare the information needed to perform a selected swap. The API doesn’t automatically send the transaction. The application handles transaction submission or the required deposit transfer. The integration must compare refreshed output with the quote. Significant changes require explicit user approval followed by a new swap-data request before transaction submission or the deposit transfer.

Contract and deposit execution

Supported execution models include EVM contract calls, EVM deposit-based swaps, native non-EVM transactions, and manual deposits for non-EVM routes. A deposit-based exchange provides transfer details for the selected provider. A contract-based exchange requires the relevant transaction data. The route determines which model applies; an EVM source network alone doesn’t establish a contract-only path.

Status handling

Status tracking reports progress after execution starts, including destination completion, partial execution, and failures. The SDK includes a polling helper for this task. A quote identifier or prepared transaction establishes an earlier state than completion. An application therefore needs to distinguish a proposed exchange from one whose destination transaction has finished.


What determines the cost of a swap?

A swap’s cost depends on its network gas, provider charges, protocol fees, and any applicable integration fee. The quote separates relevant fee information from expected output. Those categories describe different charges, so a zero protocol fee doesn’t make the whole operation free. Fee applicability follows the route and current settings. The amount entering the swap and the amount expected at the destination also concern different assets when the trade changes tokens. Comparing their bare numbers without accounting for the assets doesn’t measure the trade’s cost.

Integrator fee sharing supports percentage, fixed, and hybrid models. These arrangements concern the application offering the swap, rather than one universal charge for every exchange. Privacy-provider costs also vary with their technology and routing mechanism.

Visual outline: Rubicexchange: What determines the cost of a swap?

View image file


Provider monitoring and contract security

Automated monitoring disables transactions through compromised services, and provider aggregation allows affected services to be switched off. Rubic can redirect access toward other working providers. Disabling a provider changes which routes are available; an existing exchange’s status follows its own execution progress. Each provider remains part of the execution path’s dependencies.

The frontend doesn’t hold user funds as an account balance. Execution involves smart contracts or provider-specific deposit transfers, depending on the route. Funds sent for a deposit-based exchange follow that provider’s process. Contract audits concern the code and scope reviewed, rather than every third-party service reachable through aggregation.

RBC utility and earlier platform features

RBC’s ecosystem uses include API subscriptions and integration service fees, integrator grant programs, and partner-airdrop distribution to holders. A swap’s output asset follows the selected trade, separately from those token utilities.

Whitepaper version 1 describes a broader earlier design involving P2P and OTC trades, broker commissions, token-sale tools, liquidity locks, and limit orders. Its private order-book deals concern deal access and sharing. The same document separately discusses an anonymizer as planned development. These earlier concepts shouldn’t be treated as equivalent to today’s Private Mode or as confirmation every historical feature remains available.


Route availability and comparison limits

Best Rate Finder compares supported providers for the requested exchange. The API’s best-quote function selects the highest expected output among available routes. That output remains indicative and can change before execution because of price movements, liquidity changes, or provider recalculation. Privacy requirements add provider-specific technology and coverage constraints. A route with the highest expected output may therefore differ from the route matching a particular privacy requirement. A change in provider availability or network support can change the usable route even when the selected tokens remain the same.

Helpful answers about Rubicexchange

How quickly can the API return a swap quote?

Initial API/SDK quotes can arrive in 100 milliseconds, with route discovery taking around two seconds. These performance figures concern quote responses, not delivery of tokens to another blockchain. A returned quote describes an estimated exchange; execution and destination completion are separate states.

Can a provider request identity verification during an exchange?

An integrated provider can request Know Your Customer verification when its risk system flags a transaction. Starting an exchange through Rubic doesn’t require KYC, but semi-centralized providers apply their own policies. Higher-risk cases may require extra identification or liveness checks. The provider handles that procedure, so the aggregator’s entry requirements don’t describe every route.

In which assets can integrator fee-sharing payouts be made?

Integrator fee-sharing payouts can be made in stablecoins or tokens.

Does the API support both frontend and backend integrations?

The API supports frontend and backend integrations without imposing a particular user interface. An application can shape its own swap experience through route discovery, execution-data requests, and status tracking. The integration handles the route-specific transaction or deposit transfer. If refreshed output differs significantly from the quote, it must obtain explicit user approval and request new swap data before submission.

Which programming languages can use the SDK?

The SDK supports JavaScript and TypeScript applications through a typed wrapper around the API. It includes quoting, swap-data preparation, deposit-trade support, status tracking, and utility functions. Using the library doesn’t replace the application’s responsibility to submit transactions or perform the deposit transfer required by a route.