Skip to main content

What is a Shortcut in DeFi?

In Enso, a Shortcut is the executable workflow from the Shortcuts APIs: Route or Bundle turns a path or action list into signer-ready transaction data.

J
Written by Javier Diaz

In Enso, a Shortcut is the executable workflow produced by the Shortcuts APIs. The Route API or the Bundle API turns a desired path, or an ordered list of Actions, into signer-ready transaction data.

Definition

Enso’s docs describe a Shortcuts system with two APIs. Route automatically builds a path between two positions you specify. Bundle lets you compose a multi-step sequence of Actions. Both return a transaction object your app can submit. A Shortcut is that composed, executable result — not a separate product you install.

The Concepts reference formally defines Actions, protocols, and standards. It does not give a standalone glossary entry for “Shortcut”; the definition above is taken from the Shortcuts Library and the Route and Bundle guides.

How it works

  1. State the outcome (Route) or the action list (Bundle).

  2. Enso simulates the workflow and returns tx, quote fields, and any required approvals.

  3. Your app shows the quote and submits the transaction as-is.

  4. Same-chain steps in that transaction are atomic. Cross-chain delivery is a later stage.

How Enso does this

Use POST https://api.enso.build/api/v1/shortcuts/route or POST https://api.enso.build/api/v1/shortcuts/bundle. See the Shortcuts Library, DeFi and Swap Routing, and the Bundle API. Always submit the returned tx.to, not a hardcoded router address.

FAQ

Is a Shortcut the same as a Route?

Route is one way to get a Shortcut: Enso chooses the path. Bundle is the other: you specify the Actions. Both are part of the Shortcuts system.

Is a Shortcut a custody product?

No. It is transaction data for your existing signer and custody stack.

Related articles

  • What is a DeFi Action?

  • What is the Enso Route API?

  • What is the Enso Bundle API?

  • What is the difference between routing and bundling?

  • What is Enso?

Sources

Did this answer your question?