/shortcuts/route and /shortcuts/bundle), you must choose between two routing strategies: router and delegate.
Based on the strategy you choose, the Enso API will route your transaction through the appropriate smart contract.
When to use delegate or router?
You must use delegate when:
- dealing with non-tokenized positions where the state is stored in the protocol rather than represented by a token
- you need the state to persist in the user’s smart wallet.
Smart Wallets with delegate
Smart Wallet executes the bundle directly through delegate calls, by calling EnsoShortcutsDelegate contract, and the wallet itself doesn’t hold any tokens during the execution.

delegate for smart wallets supporting delegatecall:
- Enables both tokenized and non-tokenized interactions
- The state stays in the smart wallet itself.
- Complex, multi-step operations are more efficient and safer when executed through a smart wallet
- Simple approval model
- Limited to token-based operations
EOAs with router
With router strategy, the Enso Router contract will hold the intermediate tokens between actions.
With this strategy, you must approve the Enso router contract to operate with your input tokens:

router strategy for EOAs or simpler smart wallets:
- Works with tokenized interactions only
- Uses the universal router contract.
- Supports tokenized and non-tokenized interactions
- Enables complex DeFi strategies
- Works with lending positions and other stateful interactions
Updated
