How 1inch intent-based swaps are resolved
Intent-based swaps on 1inch enable users to define trade outcomes while professional resolvers compete to execute them, delivering optimal rates, MEV protection and gasless execution.
Unlike legacy swaps, in Fusion mode swaps, the actual transaction for exchanging one token into another is done by a resolver.
Let’s kick it off with a few important key points.
- A resolver is a fully automated algorithm that consists of a server app (that determines which orders to fill and when), a set of smart contracts that execute trades and an externally owned account (or a multisig) that sets up the contracts. Resolvers are applications developed by third parties.
- These applications resolve Fusion mode limit orders (also referred to as “Fusion swaps”), submitted by 1inch users, in automatic mode without involving any individuals.
- 1inch makes sure that a user making a swap gets at least the minimum guaranteed amount (“minimum to receive”), and an auction mechanism is designed to provide the best possible price and maximize the user’s income.
- In this framework, created by 1inch, resolvers can also optimize their income.
Resolver architecture
The table below represents a resolver’s architecture.
| Architecture component | Description | Responsibilities |
|---|---|---|
| A resolver’s backend | A server-side application hosted by a resolver, connected with 1inch’s backend via an API. |
|
| A resolver’s account | An externally owned account or a multisig wallet (like Gnosis). Simply put, a wallet that is controlled by an individual or a group of individuals (in the case of a multi-signature wallet). |
|
| A resolver’s workers | Smart contracts or just wallets (externally owned accounts, EOA) associated with the resolver’s account for each of the supported networks (as of early March, Ethereum, BNB Chain and Polygon are supported). A resolver can have 1 worker per chain, or between 1 and 3 workers in total. |
|

How to become a resolver
A separate article will be dedicated to this topic. Here, we’ll explain it briefly.
- Technically, any user who has staked an amount of 1INCH tokens sufficient to have at least 10% of total Unicorn Power can become a resolver. A resolver can also receive Unicorn Power delegated by other users. Apart from resolving, Unicorn Power can be used for participation in DAO governance.
- To obtain the right to resolve swaps, a resolver has to go through a verification process, which includes KYC/KYB by Synaps and wallet/account screening by TRM Labs (the latter is done to make sure the account in question isn’t linked to any illicit activities).
- 1inch does not assess any resolver’s backend and worker contract code, which are supposed to be private. Resolvers have to write their own resolver backend and smart contracts. But 1inch offers a simple example of how this can be done: https://github.com/1inch/fusion-resolver-example
Try an intent-based swap on 1inch!
Recent Posts
How AI agents execute on-chain trades: from intent to execution
AI agents are turning DeFi trading into a one-step process: define your goal, and let the system handle the rest. Here’s how they move from intent to on-chain execution.
How joint efforts unlocked over $100 mln stuck on Aave
DeFi works best when projects pull together. Several protocols stepped in and built an emergency exit after the recent Aave situation.
AI agents vs trading bots: what’s the difference, and which works better?
AI agents and trading bots automate DeFi trading in different ways. Learn how they compare, where each performs better and why hybrid strategies are emerging as the most effective approach.