Enso’s APIs translate the desired outcome (e.g. enter an LP position) into corresponding calldata, removing complexity and integration effort. This is made possible through two major shortcuts APIs:

  • Theroute API, which takes in tokens and their amounts returns the calldata for the optimal path.
  • The bundle API, which lets you construct a path interacting with DeFi protocols you pick.

It’s not only for swaps! The route endpoint lets you not only do swaps, but also equips you for entering lending positions, depositing into yield farming strategies, adding liquidity to AMM pools, obtaining LP tokens, and more.

Follow these guides to get started:

Updated

Was this page helpful?