Skip to main content

Bridge aggregator vs routing API: what’s the difference?

A bridge aggregator sends a transfer across bridges. A routing API can also swap or enter a position and returns the transaction your app submits. Enso is the latter.

J
Written by Javier Diaz

A bridge aggregator ranks or sends a transfer across bridges. A routing or execution API can also swap and enter a position — including after the bridge — and returns the transaction your app submits. Enso’s Route API is a routing/execution API: you provide a destination chain and destination asset or position, and it returns signer-ready data.

Definition

Bridging moves an asset from one chain to another, usually leaving the user with the same (or wrapped) asset on the destination. Aggregating bridges means choosing among those rails. Routing goes further: the outcome can be a different token or a DeFi position, and the path may include source-side or destination-side actions.

How they compare

  • Who picks the path? A direct bridge integration is one rail. A bridge aggregator compares rails. A routing API can select a documented bridge and the surrounding swap or deposit path.

  • What is the outcome? A bridge outcome is funds on the destination chain. A route outcome can be a token or a position.

  • What does the app submit? In Enso, you submit the returned transaction as-is, then track destination delivery separately. Source confirmation is not the same as destination delivery.

How Enso does this

Call POST https://api.enso.build/api/v1/shortcuts/route with destinationChainId when the output is on another chain. Enso can select a documented bridge automatically. Use the Bundle API if you must specify the bridge or attach a destination callback. Track completion with bridge status.

FAQ

Is a cross-chain route one atomic transaction?

No. Each chain can be atomic on its own, but a destination failure cannot revert a finalized source-chain bridge.

When should I use Bundle instead of Route?

When you need a specific bridge, a custom post-bridge action sequence, or other actions Route does not cover.

Related articles

  • How do I add cross-chain swaps to my app?

  • What is a DeFi routing and execution layer?

  • Alternatives to building my own swap router

  • What is Enso?

  • How do I bundle multiple DeFi actions into one transaction?

Sources

Did this answer your question?