Eco Routes Upgrade Unlocks Cross-Chain Swaps Across Any Onchain Asset Pair
Eco enables superior swap routing between any two tokens across chains, using stablecoins in between.
Eco’s stablecoin routing infrastructure serves not only partners whose use cases start and end with stablecoins, but also enables solutions that need to route through stablecoins.
One example is an arbitrary cross-chain swap execution. Stablecoins often serve as the most efficient swap pairs for buying and selling assets on each chain, as well as the most efficient asset for bridging between them. In recent months, we’ve seen multiple partners use Eco routing for this exact use case.
Today, we’re rolling out Any-to-Any Swaps in the Eco Routes API: a single quote that converts any token on one chain into any token on another, routed by solvers who only need to hold stablecoins in between. LayerZero will serve as the default settlement configuration for Any-to-Any swaps on Eco.
Any-to-Any Swaps ships via the Eco Routes API you already call, so platforms integrated with Routes inherit it with no contract upgrades or migration.
How Any-to-Any Swaps Work
Any-to-Any Swaps routing is available through the existing Eco Routes API quote endpoint and is handled automatically by a new router module in the solver.
At quote time, the router inspects source and destination tokens and selects the appropriate execution path:
- Source-chain swap: The user’s input token is atomically swapped into a stablecoin via the EcoSwapGateway contract and a local DEX or propAMM. This is encoded in a local flash intent, a single-transaction construct that atomically proves, withdraws, and executes in one shot.
- Stablecoin bridge: The stablecoin output funds a standard Eco cross-chain intent. This is Eco Routes’ existing, proven stablecoin transfer rail, trustless and permissionless.
- Destination-chain swap: A second flash-fulfilled local intent on the destination chain converts the received stablecoin into the user’s target token via an on-chain DEX swap, and delivers the output directly to the recipient.
Flash Intents are central to the performance of this flow: by bundling proof, reward withdrawal, and route execution into a single atomic transaction, each leg settles in one block with no intermediate custodial state.
The Result: Expanded Functionality, with Extended Capital Efficiency
- Swap any onchain asset, with only stablecoins held and routed. The protocol offers universal conversion without warehousing a single long-tail token. The solver never has to hold the source or destination asset; only stablecoins. Source and destination swaps benefit from Eco’s runtime routing, ensuring market-leading DEX execution when entering and exiting the base stablecoin.
- Consistent performance across ecosystems. Initially, Any-to-Any Swaps routing operates across all Eco-supported EVM chains and Solana, using LayerZero’s messaging layer for intent settlement, so you get the same coverage and behavior wherever an order starts or ends, including long-tail assets.
- One integration, no migration. Any-to-Any Swaps ship on the same Eco Routes API you already call. What you get: universal cross-chain conversion as one integration across markets, with no contract upgrades.
Start Building
Every pair you can’t quote is a flow that routes somewhere else, and a treasury operation you are maintaining instead of your product. Any-to-Any Swaps let you offer conversion across any pair and any chain without standing up inventory or rebalancing operations for a single new asset.
Request a quote and settle your first any-to-any order against the same Routes API you already use. Contact the Eco team to learn more about Any-to-Any Swaps.
About Eco
Eco powers real-time money movement across every major stablecoin and blockchain, ensuring dollars flow seamlessly across today’s fragmented multichain landscape. Leading apps and protocols integrate Eco to power stablecoin flows where best-in-class execution is required — upgrading stablecoin UX throughout their ecosystems and unifying them all in a thriving Stablecoin Economy.