Liquidity Routing

Overview

This module consists of a system for finding the most efficient route for asset swaps and includes connectors to various liquidity providers, such as DEXs, bridges, and other routers. The connectors are implemented both through APIs and direct interactions with liquidity protocol contracts (RFQ and mint/burn models).

Features of this module include:

  • Finding and assembling the most efficient route for user asset swaps within a single blockchain or across multiple blockchains (aka cross-chain swaps). When the exchange rate is requested Chainspot queries all connected liquidity providers: DEXs, bridges, and routers to find the best path to exchange.

  • Providing transaction history to users.

  • Facilitating return payments to the source network based on a user-signed message. For example, if a user in BNB Chain closes his position in a staking protocol on Solana, he pays the fee in BNB Chain and receive his tokens back in BNB Chain from Solana. Look how it works with step by step transaction flow explanation!

We exclusively integrate on-chain liquidity providers and do not utilize centralized exchanges like ChangeNow or direct connections to CEXes. The user’s asset swap path is always transparent and predictable at the blockchain and smart contract level.

Last updated