Integration

What networks does Enso support?

Enso supports multiple EVM-compatible networks. Check the Supported Networks page for the latest list.

What protocols does Enso support?

Enso supports 140+ protocols across various categories. Use the GET /standards endpoint to get the latest list.

Here’s a complete list of supported protocols:

Is it safe and secure to use Enso as a third party service?

Enso prioritizes security in the following ways:

  • Smart contract code is audited.
  • All transactions are simulated before execution, with actual values returned in the API response
  • End users can independently simulate transactions using Tenderly before on-chain execution

What is the default rate limit for the API?

Rate limits can be increased on demand.

The default rate limit is 10 requests per second (RPS). When the limit is exceeded, you’ll receive a 429 Too Many Requests error.

API Basics

What’s the difference between route and bundle endpoints?

The route is optimally pre-populated bundle

The route API automatically creates a bundle of actions in order to find the optimal route for your desired outcome. The bundle API allows you to specify the exact actions and protocols you want to use in your transaction.

  • The POST /shortcuts/route API endpoint is used when:
    • You want an optimal path from any token tokenIn to any token tokenOut
    • You don’t care about the specific actions and intermediary tokens on the route
    • You’re using tokenized positions (for non-tokenized positions, use the nontokenized endpoint)
  • The POST /shortcuts/bundle endpoint is used when:
    • You want to to bundle multiple actions into a single transaction
    • You want to use specific protocols for your route
    • You want to actions like harvest and redeem

What’s the difference between route and nontokenized endpoints?

  • The POST /shortcuts/route API endpoint is used for tokenized positions where you receive a token representing your position (like aTokens in Aave).
  • The GET /shortcuts/route/nontokenized endpoint is for non-tokenized positions, which are stored directly in a smart contract (usually a Smart Wallet).

When do I need to use a Smart Wallet?

Use the Smart Wallet (mandatory delegate routing strategy) with either shortcuts/route, shortcuts/bundle and shortcuts/route/nontokenized when:

  • You are using a Smart Wallet (like Argent or Gnosis Safe)
  • You want a POST /shortcuts/bundle including harvest or redeem actions
  • You want to use GET /shortcuts/route/nontokenized endpoint
  • You want to specify a spender address in the

What is the difference between router and delegate routing strategies?

Both routing strategies are used with POST /shortcuts/route, and POST /shortcuts/bundle, and POST /shortcuts/route/nontokenized endpoints:

  • router: Standard routing strategy for EOAs (Externally Owned Accounts).
  • delegate: Routing strategy for smart wallets, allowing for delegate calls.

The routing strategy instructs the API on how to build the transaction calldata, and which of Enso’s smart contracts to use for execution. The API response contains the calldata and the correct recipient in tx.to field, that points to one of Enso’s contracts.

Learn more about routing strategies.

How do I authenticate API requests?

API requests require an authentication token in the Authorization header:

-H 'Authorization: Bearer YOUR_API_KEY'

How do I get and use the returned calldata?

The API returns transaction calldata that should be sent to the EnsoShortcutRouter contract.

Routing Mechanics

How does the routing work behind the scenes?

Enso’s router functions as a configurable multicall that can execute multiple actions in a single transaction on a specific chain. It optimizes the route based on current market conditions to find the best path for your transaction, whether it’s a swap, zap, deposit and so on.

Does Enso support cross-chain transactions?

As of March 2025, Enso supports single-chain transactions only, with cross-chain functionality in development. Current routes execute on a single blockchain network at a time.

What contract does the calldata interact with?

The calldata should be sent to the EnsoShortcutRouter contract on the respective chain.

How does Enso handle wallet types?

Enso recognizes two different routing strategies.

  • The standard route routing strategy is designed for EOAs (Externally Owned Accounts). To use a smart wallet, use delegate routing strategy.

What happens if the user doesn’t have sufficient funds?

The API will return a route, but transaction execution will fail if sufficient funds aren’t available.

Error Handling

How can I test transactions before executing them?

You can simulate transactions using Tenderly before executing them on-chain.

Integration Patterns

How should I implement recurring transactions?

Since routes are dynamic and market conditions change, the best approach for recurring transactions is to use an off-chain actor that calls the API periodically to get the latest optimal route.

How can I integrate Enso with a custom smart contract?

You can create a custom contract that calls the EnsoShortcutRouter with the data returned from the API.

Can I integrate Enso with a bot?

Yes, Enso’s API is suitable for bot integration, such as for dutch auction fills, liquidation bots, or automated trading strategies.

What types of DeFi operations does Enso support?

Enso supports a wide range of DeFi operations including swaps, deposits, lending, borrowing, staking into LSTs, and complex compositions of these actions.

DeFi FAQ

How is slippage handled in routes?

Slippage is specified in basis points as a parameter in API calls (e.g., 300 = 3%). The response amount tokenOut accounts for any slippage, as the API simulates the transaction before returning the route.

How do I know the price imapct of my route?

When using POST /shortcuts/route, POST /shortcuts/bundle, or POST /shortcuts/route/nontokenized, the API returns the priceImpact field. This value is obtained from a transaction simulation, and indicates the expected price impact.

Does redeem action withdraw additional pool rewards?

The redeem action does not withdraw additional pool rewards. It only redeems the underlying asset from the pool. To withdraw rewards, use the harvest action.

Common Errors and Solutions

”Could not build shortcuts for route” Error

This error in /shortcuts/route API indicates that Enso couldn’t find a valid route between the specified tokens on the specified network.

Possible solutions:

  • Verify token addresses are correct
  • Check if the token pair is supported on the specified chain
  • Verify the protocol integration is working
  • Check if your operation demands a redeem or harvest action, which must be used via the bundle endpoint, using the delegate routing strategy.

Updated