Find answers to common questions.
/standards
endpoint to get the latest list.
Here’s a complete list of supported protocols:
Supported Protocols
429 Too Many Requests
error.
route
and bundle
endpoints?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./shortcuts/route
API endpoint is used when:
tokenIn
to any token tokenOut
nontokenized
endpoint)/shortcuts/bundle
endpoint is used when:
harvest
and redeem
route
and nontokenized
endpoints?/shortcuts/route
API endpoint is used for tokenized positions where you receive a token representing your position (like aTokens in Aave)./shortcuts/route/nontokenized
endpoint is for non-tokenized positions, which are stored directly in a smart contract (usually a Smart Wallet).delegate
routing strategy) with either shortcuts/route
, shortcuts/bundle
and shortcuts/route/nontokenized
when:
POST /shortcuts/bundle
including harvest
or redeem
actionsGET /shortcuts/route/nontokenized
endpointspender
address for redeem
actionsrouter
and delegate
routing strategies?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.tx.to
field, that points to one of Enso’s contracts.
Learn more about routing strategies.
EnsoShortcutRouter
contract.
EnsoShortcutRouter
contract on the respective chain.
route
routing strategy is designed for EOAs (Externally Owned Accounts). To use a smart wallet, use delegate
routing strategy.EnsoShortcutRouter
with the data returned from the API.
tokenOut
accounts for any slippage, as the API simulates the transaction before returning the route.
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.
redeem
action withdraw additional pool rewards?redeem
action does not withdraw additional pool rewards.
It only redeems the underlying asset from the pool. To withdraw rewards, use the harvest
action.
/shortcuts/route
API indicates that Enso couldn’t find a valid route between the specified tokens on the specified network.
Possible solutions:
redeem
or harvest
action, which must be used via the bundle
endpoint, using the delegate
routing strategy.Updated