Bundling Actions
Bundle several DeFi actions into a single transaction using the bundle API.
Getting Started with Bundle API
The Bundle API is Enso’s multi-action orchestration engine that executes complex DeFi workflows atomically. While the Route API automatically finds optimal paths between positions, the Bundle API gives you precise control over each action in your sequence - perfect for custom strategies, multi-protocol operations, and advanced DeFi automation.
Bundle vs Route: Choose Bundle when you need specific execution order, multi-protocol interactions, or actions beyond simple swaps and deposits. Use Route when you want Enso to handle the optimization automatically.
Atomic execution: All actions in a bundle succeed together or revert entirely - no partial executions or stuck funds.

Last updated