Skip to main content

What is a DeFi intent?

An intent is a requested outcome — for example, arrive in a destination token or position — rather than a hand-built list of contract calls.

J
Written by Javier Diaz

A DeFi intent is a requested outcome — for example, arrive in a destination token or position — rather than a hand-built list of contract calls. Enso turns that request into signer-ready transaction data.

Definition

Intent-based execution means the product states what should happen, and the execution layer finds or composes the path. The alternative is specifying every protocol call yourself. Enso supports both: Route takes an outcome-shaped request; Bundle takes an explicit action list.

How it works

  1. Describe the outcome: input asset, amount, destination asset or position, chain, and protection such as slippage.

  2. The execution layer simulates a path and returns a transaction, expected output, and any approval.

  3. The user, or your signer, submits that transaction as-is.

  4. If you instead need a fixed action order, express that as a bundle rather than as a single intent-shaped route.

How Enso does this

Docs describe Enso as turning product intent into signer-ready transaction data. Call POST https://api.enso.build/api/v1/shortcuts/route for an outcome-shaped path, or POST /api/v1/shortcuts/bundle when the product must specify the steps. See the developer documentation home and Get Started.

FAQ

Is every Enso request an intent?

Route is the intent-shaped path: you specify the destination, Enso chooses the steps. Bundle is the opposite pattern: you specify the Actions.

Does stating an intent move funds by itself?

No. Enso returns transaction data. Execution happens when the user or your signer submits it.

Related articles

  • What is intent-based execution in DeFi?

  • What is the Enso Route API?

  • Intent-based execution vs specifying every transaction step

  • What is a Shortcut in DeFi?

  • What is Enso?

Sources

Did this answer your question?