Skip to main content

What is an EOA vs a smart wallet in DeFi routing?

An EOA typically uses the router strategy and may need token approvals. A smart wallet often uses delegate so execution and protocol state stay in that account’s context.

J
Written by Javier Diaz

An externally owned account (EOA) typically uses the router strategy and may need token approvals. A smart wallet often uses delegate so execution and protocol state stay in that account’s context.

Definition

The account type changes which execution client should run the shortcut, and whether approvals go to a shared router or stay with the wallet.

How to choose

  • Use router when an EOA submits through the Enso router. This is the standard choice for token-based Route and Bundle flows. Submit any returned approvals first.

  • Use delegate when fromAddress must be the execution context — including compatible smart-wallet integrations, and actions such as borrow, harvest, and repay that must retain state at that address. Do not send router approvals unless the response requires them.

  • Use ensowallet-v2 only when the flow should run through the EnsoWallet V2 smart-account client. Resolve that address with GET /api/v1/wallet.

  • Submit tx.to, tx.data, and tx.value unchanged in every case.

How Enso does this

Routing Strategies and the FAQ describe these account and strategy pairings. See also Router vs delegate routing strategies and How do I use Enso with a smart wallet? This article does not name specific wallet products.

FAQ

Can a smart wallet use router?

router is the usual path for an EOA. Use delegate when execution must remain in the smart wallet’s context.

Is an EOA required for Route?

No. Route and Bundle both accept routingStrategy. Choose the strategy that matches the account that will submit tx.

Related articles

  • Router vs delegate routing strategies

  • How do I use Enso with a smart wallet?

  • What is a routing strategy?

  • How do I handle token approvals in a routing flow?

  • How do I borrow or repay through Enso?

Sources

Did this answer your question?