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.
Would route do the job?
The route API might be the simpler way to route your assets. Before using the bundle API, check if route would work using happypath.
Follow these guides to get started:

Updated