Concepts
Short definitions of routing, execution, intents, zaps, and related DeFi terms.
By Javier1 author53 articles
- What is a DeFi routing and execution layer?A DeFi routing and execution layer turns a desired outcome into signer-ready transaction data so your app does not integrate every protocol itself. Enso is that layer.
- What is intent-based execution in DeFi?Intent-based execution means you state the desired outcome and an execution layer finds or composes the path. Enso turns that intent into signer-ready transaction data.
- What is a zap in DeFi?A zap lets a user start from the token they already hold and end in a vault, LP, or other position in one flow. With Enso, request a Route from…
- What is cross-chain routing?Cross-chain routing finds a path from a token or position on one chain to a token or position on another. Enso’s Route API does this when you set destinationChainId.
- Are cross-chain transactions atomic?No. Each chain’s transaction can be atomic on that chain, but a destination failure cannot revert a finalized source-chain bridge. Track destination delivery as a separate stage.
- What is slippage in DeFi?Slippage is the allowed difference between the expected output and the minimum you will accept. In Enso, set it in basis points on the Route or Bundle request, and do…
- 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.
- What is a DeFi Action?An Action is a standardized protocol operation — such as swap, deposit, withdraw, borrow, or harvest — used alone or composed into a Shortcut or bundle.
- 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.
- What is the difference between routing and bundling?Routing lets the execution layer choose the path into one destination. Bundling lets the product specify the exact action sequence.
- What is a routing strategy?A routing strategy chooses which account executes a Route or Bundle transaction. Enso’s public strategies are router, delegate, and ensowallet-v2.
- What is transaction simulation in DeFi?Simulation estimates what a transaction would do before it is sent. Enso simulates Route and Bundle responses before returning them.
- What is signer-ready transaction data?It is a complete transaction object the user’s wallet can sign and submit without rewriting the destination, calldata, or value. In Enso this is the returned tx.
- What is DeFi routing?DeFi routing chooses a path from a source asset to a destination asset or position, often across venues, and returns an executable transaction.
- What is a same-chain bundle?A same-chain bundle is an ordered list of DeFi actions executed in one transaction on a single chain. Those actions succeed or revert together.
- What is a bridge callback?A bridge callback is the destination action list that runs after a cross-chain bridge delivery. It is a later transaction and cannot revert the source transfer.
- What is destination-chain delivery?Destination-chain delivery is a later stage than source-chain confirmation. A successful source transaction does not by itself mean the output has arrived.
- What is a destinationChainId?destinationChainId tells the Route API, or a bundle bridge action, which chain the output should land on. Omit it for a same-chain route.
- What is price impact?Price impact is the expected market move from the trade. Enso returns it from simulation on Route, Bundle, and non-tokenized route responses, in basis points.
- What is minAmountOut?minAmountOut is a floor on output. Enso requests use either slippage or minAmountOut, not both. Some routes, including Solana destinations, require slippage instead.
- What is an ERC-20 approval in a routing flow?An ERC-20 approval lets a router spend the user’s token. Request it only when spending an ERC-20 through the router and the current allowance is too low.
- What is yield-as-a-service?Yield-as-a-service lets a wallet or app offer curated yield in its own interface, using an execution API for entry, exit, and balances, while keeping custody with the user.
- What are preSimulationTransactions?preSimulationTransactions are optional setup transactions Quoter runs on the fork before the main simulation, such as a token approval the main call depends on.
- What is a simulationId?A simulationId is the UUID Enso Quoter returns from a simulate call. You pass it to validate before the user signs. It expires after five minutes.
- What is a forked EVM simulation?A forked EVM simulation runs your transaction against a copy of current chain state. Enso Quoter uses this to predict amountOut, gas, and whether the call would succeed.
- What optional fields can I send in a Quoter transaction?Besides data, value, to, and from, a Quoter transaction can include operationType, receiver, spender, executor, origin, authorityDelegate, and initCode, as documented on the simulate guide.
- What are bridge fees on a cross-chain route?Cross-chain Enso quotes can include metadata.bridgeFees and, on intent routes, an intentExecution keeper fee charged in the bridge token. amountOut is net of that keeper fee.
- What does ready_for_manual_execution mean in bridge status?ready_for_manual_execution means funds are recoverable, but a destination action still needs manual completion. It does not mean the funds are lost.
- What do pending, inflight, delivered, failed, and unknown mean in bridge status?These are the unified statuses for an async cross-chain transfer after the source transaction is submitted. Delivered is later than source-chain confirmation.
- What is an intent route in Enso?An intent route is a cross-chain Route flow that bridges an ERC-20 to a one-time intent address so an Enso keeper can run the destination swap or deposit and send…
- What is bridgeRefundAssets?bridgeRefundAssets is quote metadata listing where bridge-principal refunds would be sent for the selected path. An empty list is expected for same-chain routes.
- What is bridgingEstimates?bridgingEstimates is a Route response array that names the selected bridge path and its estimated delivery time, including estimatedSeconds you can use for the first status poll.
- What is the difference between receiver and refundReceiver?receiver is the destination address that should receive the output. refundReceiver is the address that should receive a refund when a refund path applies. They can be different wallets.
- What is useIntentAddress?useIntentAddress controls whether a cross-chain Route can use an intent route. Omit it to allow an intent when the keeper supports both chains. Set it to false for a callback…
- What is a project, protocol, and standard in Enso?A project groups related protocol versions. A protocol is one implementation, identified by a slug. A standard describes the shared interface Enso uses to act on it.
- What is a flashloan in a bundled transaction?A flashloan borrows tokens without upfront collateral and must be repaid in the same transaction. In Enso, flashloans are Bundle actions, not Route requests.
- What is a tokenized position vs a non-tokenized position?A tokenized position is represented by a token, such as a vault share. A non-tokenized position is held in a contract and usually needs a smart wallet and the nontokenized…
- What is protocol data in a DeFi API?Protocol data is catalog metadata for tokens, protocols, and standards — such as chain, decimals, logos, underlying assets, and, where offered, APY and TVL.
- What is request tracking or a referral code?A referralCode can be sent with Route or Bundle requests so on-chain ShortcutExecuted events can be used to track usage and rewards for that code.
- What are Enso API credit headers?Successful Enso responses can include x-enso-credits-* headers and x-enso-plan so you can track monthly credit usage, quota, and reset time.
- What is tokenIn and tokenOut?tokenIn is the asset or position you spend. tokenOut is the destination asset or position the route should deliver. Both can be tokens or tokenized DeFi positions.
- What is amountIn vs amountOut?amountIn is the input size you request. amountOut is the simulated expected output in the quote. Use minAmountOut, when present, as the protected on-chain floor.
- What is fromAddress in a routing API?fromAddress is the source wallet or account that will sign, and the address the route or bundle is built for. It is not always the same as receiver.
- What is a route path?The route field in a quote describes the optimized path the API selected between the input and the output, as an array of hops or actions.
- What is a preTransaction?preTransactions are transactions, often token approvals, that must be submitted in order before the main route or bundle transaction.
- What is useOutputOfCallAt?useOutputOfCallAt tells a later Bundle action to consume the output of an earlier action instead of a fixed amount. References are zero-based and must point backward.
- What is a hop in bridge status?A hop is one bridge transfer in a cross-chain route. When a transfer is multi-bridge, the status response can include a hops array with per-hop chain and status details.
- What is feeAmount and feeBreakdown?feeAmount is the fee charged per input token on a quoted trade. feeBreakdown lists each recipient, with role, token, receiver, bps, and amount.
- What is residual dust after a route?Residual dust is a small remainder of a source or intermediate asset left after a route or zap. Refresh balances and show it in the UI when it matters.
- What is an async redeem?An async redeem is a vault exit that files a withdrawal request now and pays tokenOut later. The Route response describes that payout in an async object, not in amountOut.
- What is crosschainRouteMode?crosschainRouteMode controls whether Enso may add same-chain routing around a bridge. It defaults to full. The option applies only when destinationChainId is set.
- What is staking into an LST through a router?Staking into a liquid staking token can be a Route destination: set the LST or related position as tokenOut and let the routing API find a supported path.
- What is a stablecoin mint or redeem in a route?A stablecoin mint or redeem in a route is a path whose destination or source is a tokenized mint or redeem position. Confirm that token with catalog data; do not…
