Notes on the nature of Intent-Based Markets.
In this blog, I discuss the work “An Analysis of Intent-Based Markets” by Tarun Chitra, Kshitij Kulkarni, Mallesh Pai, and Theo Diamandis.
Intents have been touted as a way of expressing generalized transactions on blockchains. Intents allow users to express transactions with a set of conditions or covenants, and only if these conditions are met can the transaction be executed.
Today, the most common sort of transactions on blockchains are “swaps” between two assets. So, let’s consider an example,
"I want the outcome of trading my 1 Ethereum for 3000 USDT."
This is an example of a simple swap between two assets; you can do it on Uniswap or Ambient today. But you have to make a choice - decide the exchange, the chain, the slippage of your dex, and even check if it’s better off-chain or onchain, considering fees. Intent design abstracts these decisions; the whole process - picking the pool, making accounts/signing transactions, handling transfers (or converting dust in your wallet), etc. will be managed. Additionally, Let's imagine you instead say, “I want to trade 10 ETH for the best price possible, subtracting fees.” an additional consideration, like considering different venues, now gets added. You must calculate this over all possible routes across chains, making it difficult. While a transaction like this cannot be expressed today, intents eventually aim to provide a framework to accomplish this.
A Solver is an entity that receives your intent and determines how to “solve” it. The solver handles the messy details of trying to optimize for the best possible outcome for you. They try to meet your demands while keeping all the conditions and covenants in mind.
The key is that intents focus on “what you want” rather than “how you want it.” You define the desired results, while someone else determines the "how." Intents greatly simplify the transaction flow that most users use in crypto by allowing you to specify outcomes and not worry about steps.
For a deeper dive into understanding intents, refer to
This work is about the nature of solvers, modeling intent-based markets (when they become popular) with different solvers and exploring the dynamics that arise in these solver-driven intent markets.
Decentralized exchanges are essentially passive pools of liquidity between two assets. In an actively traded market, while the global price of the asset moves, DEXes, because of their design, rely on continuous arbitrage to synchronize these prices. In the work [Quantifying loss in automated market makers](https://Automated Market Making and Loss-Versus-Rebalancing), Millionis et al. consider the market microstructure of AMMs and find the main adverse selection costs that lead to significant losses for the LPs. This is also true in Uni v3, as shown by the authors of Decentralized Finance and Automated Market Making: Predictable Loss and Optimal Liquidity Provision.
Intents are described as a way of credibly executing asynchronous transactions across multiple blockchains. Essentially, they generalize “Request for quote” systems. Request for Quote (RFQ) systems are trading protocols where:
A potential buyer or seller (the requester) asks for price quotes from one or more market makers or dealers.
The requester specifies the asset, quantity, and whether they want to buy or sell.
Market makers respond with their best price quotes.
The requester can then accept one of the quotes or decline all offers.
RFQ systems are often used in over-the-counter markets, bond trading, and some cryptocurrency exchanges. (This explanation clarifies the similarity between intents and RFQs.) Intents are generalized RFQs and allow users to be more granular or specific about the conditions, which are then guaranteed to hold throughout the transaction's execution.
In the world of Intent markets where intents are fulfilled by solvers trying to meet the conditions set by a user. A natural assumption is that solvers will only satisfy a user order if something “in it” for them, i.e., it benefits them. The nature of their setup ( allows them to have information that usual users or unsophisticated market participants do not have. So, incentivizing the solver to execute the user's orders at optimal prices becomes an open problem and resembles principal-agent problems.
Several intent-based marketplaces exist today, but you might say that the expressivity is slightly constrained given the generality we mentioned before. UniswapX is a popular intent system and has done about 11B in volume at the time of this writing.
UniswapX is a non-custodial, Dutch auction-based trading protocol designed for the Ethereum Virtual Machine. The protocol aims to aggregate both onchain and off-chain liquidity, internalize Miner Extractable Value (MEV) as price improvement, offer gas-free swaps, and support cross-chain trading.
The system's design revolves around signed offchain orders that are executed and settled onchain. Instead of creating and submitting transactions themselves, swappers sign orders specifying details like input/output tokens, amounts, decay functions, and deadlines. These orders are then picked up by "fillers" (MEV searchers, market makers, or other onchain agents) who submit them to a reactor contract. The protocol uses a Dutch order type, which starts at a price better than the current market price and decays over time. This creates competition among fillers to find the best possible price for swappers while maintaining a small profit margin. The system can be extended to support cross-chain trading, allowing users to trade assets between different blockchain networks. UniswapX also incorporates features like optional filler exclusivity periods, governance-controlled fees, and the ability for interfaces and wallets to charge additional fees. UniswapX is essentially a Dutch auction with a reserve price, which is guaranteed sourced from the univ3 or v2 liquidity pool.
CowSwap is also another intent based protocol that implements the “maximum output” intent and has processed billions since inception. In cowswap, solvers participate in an auction to execute user orders at a uniform clearing price, known as a batch auction.
In the work “Illuminating Ethereum’s Order flow landscape”, the authors show a Sankey diagram that illustrates where solvers source liquidity for transactions that were sent to solver auctions Cowswap, 1inch Fusion, and Uniswap X for the month of November 2023. The figure shows the three solver auctions together have 22 solvers that accessed over 33 liquidity sources and also shows solvers source liquidity across both automated market makers (AMM), most notably Uniswap V3, and private market makers (PMM), most notably, Wintermute and SCP.
Through the diagram, the authors also conclude that millions of dollars in Cowswap user orders were matched with 1-inch user limit orders in landed transactions in November 2023. To win the solver auction, 1-inch limit orders must have provided a better price than private market makers, making a case that expanding market access to fill retail order flow can drive better user outcomes. (This was proposed as a rule by SEC recently, but more on that later).

The authors also talk about “Market maker auctions”, where earlier, the only way to participate in these were permissioned RFQs built by aggregators like 0x and 1inch. Recently, Hashflow developed an RFQ that allowed any project or solver to tap into its market maker liquidity which changed the game. Through Hashflow, market makers filled more volume than other auctions run by aggregators. But why is this important? Market makers that integrated with solvers through Hashflow had two benefits: cowswap required solvers to stake money in USDC and cow tokens, thus introducing a barrier to entry, and cashflow gave a bigger surface area of orders (literally more orders) to fill.
OEV (oracle extractable value) markets also run auctions to sell the right to execute a trade immediately after a price update is sent on-chain via a price oracle. What kind of trades might one want to do with these? For example, if a price update were to make a loan position cross its liquidation threshold on a lending protocol onchain, having access to the guarantee of the trade after might help the entity secure the fees gained.
Going back to UniswapX - one might assume it’s a free lunch at the start and that increased competition might lead to better user fulfillment, but only sophisticated participants can win in the longer term. Does competition always lead to better outcomes for user welfare? How do solver markets change when entry barriers are introduced in the form of required entry fees? How do solver markets change when filling the order requires skill in the form of investment in infra, and thus, some solvers outcompete others on this front? Uniswap had over 2000 addresses participating as fillers in their early days which came down to only 12 addresses by Jan 2024. This also might lead to unintended outcomes since the market might suffer from a lack of competition which may lead to worse outcomes for users.
These are some questions explored and answered in the work “An Analysis of Intent-Based Markets” by Tarun Chitra et al.
You have two choices:
Trade this on a CFMM like Uniswap or Ambient, which gives you a specific price.
OR
Independence: The price that each solver has access to is independent of the prices of other solvers. In other words, knowing one solver's price doesn't give you any information about another solver's price.
Probability Density Function PDF, : The PDF is the derivative of the CDF with respect to . It describes the likelihood of the random variable taking on a specific value . Mathematically,
Imagine we are drawing random number to represent prices:
So now we have a setup for our auction model, where the user runs it to get a better price than the one he could attain from public markets.
Do I enter the auction at all?
Entering an auction might involve entry costs. These represent infrastructure and setup costs.
If I choose to enter, how should I bid?
After entering an auction, solvers exert effort to find a good price. This effort is costly and may be congestive, i.e., the cost depends on the total number of participating solvers, representing increased competition for scarce liquidity. We can call these congestion/effort costs.
Now, we will look at these cases in detail.
A Dutch auction mechanism is where the auctioneer starts with a high asking price and gradually lowers it until a participant accepts it. In the context of the auction, we are running for our order:
User's Role: The user intends to swap a certain amount of token T1 for as much of token T2 as possible.
Solvers' Role: Solvers (participants in the auction) bid to offer the best price for this swap.
A short note on revenue equivalence -- Revenue equivalence is a fundamental concept in auction theory. It refers to the principle that under certain conditions, different types of auctions (First-price sealed-bid, Second-price sealed-bid, Dutch or English) will generate the same expected revenue for the seller. The conditions are that the bidders are risk-neutral, they have independent private values, and all bidders have valuations drawn from the same distribution, i.e., they have the same information and bidding strategy. This is a powerful result because it means we can often analyze simpler auction formats and apply the results to more complex ones as long as the conditions of the theorem are met.
$$ \tilde{p}i = p_i - \frac{\int{p*}^{p_i} F^{(k-1)}(x)}{F^{(k-1)}(p_i)} dx p_ip_i$$
Before deciding whether to enter the auction, you'll want to estimate your expected profit if you participate. This estimated profit is your interim profit. It's called "interim" because it's your expected profit after you've learned your price but before you know the auction's outcome.
The Ex-Ante Expected profit, defined as the overall expected profit for a solver considering the distribution of prices and the number of competitors, can be written as:
where,
Simplifying we get,
where
The paper examines the impact of entry costs and congestion costs on interim profits. This analysis helps in understanding how these costs influence the solvers' decisions and the overall market dynamics.
The interim profit function is a key building block of the model that connects the solvers' entry and bidding decisions to the overall competitiveness and efficiency of the intent-based markets.
The paper considers three types of distribution from which the prices can be derived: Exponential, Uniform, and Pareto. The above equation S(k) is simplified with the help of the PDFs of these probability distributions, and we get a final equation in terms of k. These equations help us model-specific cases like entry and high effort costs and gain insight into how many solvers might eventually be left or how they slowly change because of various costs. These costs influence the equilibrium number of solvers (k*) participating in the auction.
Exponential Distribution:
The exponential distribution is often used to model the time between events in a Poisson process.
An exponential distribution means many solvers have relatively low prices, but occasionally, a solver might offer a much higher price.
After simplifying with PDF, we get,
Uniform Distribution:
The uniform distribution assumes all outcomes are equally likely within a specified range.
A uniform distribution means prices are evenly spread out within some range.
After simplifying, we get,
Pareto Distribution
The Pareto distribution is often used to model distributions with heavy tails, such as income distributions.
If the prices solvers offer follow a Pareto distribution, a few will offer very high prices, but most will offer lower prices.
This leads to the equation:
$$$ \sum_{k=0}^{n} \left( \binom{n}{k} F_C^{k}(\bar{c})(1 - F_C(\bar{c}))^{n-k} \right) S(k) = \
\frac{1}{(n+1)(n+2)F_C^2(\bar{c})} (1 - (1 - F_C(\bar{c}))^{n+2} - (n+2)F_C(\bar{c})(1 - F_C(\bar{c}))^{n+1}) $$$
This leads to the equation:
Extreme spacings refer to the gaps between the highest and second-highest values in a sample. In the context of the Pareto distribution, these spacings can be quite large due to the distribution's heavy tail. In auctions, extreme spacings can lead to significant differences between the winning bid and the second-highest bid. This can result in substantial bid shading, as solvers may strategically bid lower to increase their expected profits.
This suggests that even with a large number of solvers present in the auction, the user can realize a price that is only a small fraction of the theoretical highest price available to any of the solvers.
Ultimately, what we explore here is the consideration of how solver effort affects their ability to offer competitive prices and how this effort might be influenced by the number of participants in the market (congestion effects).
(Note: people who don’t want to read the math can go to the conclusions in bold.
Substituting this into the first-order condition, we get:
Solving this integral yields:
This means that as the market becomes more congested, solvers will invest less effort in finding better prices, leading to a lower equilibrium effort level.
User welfare is maximized when the expected revenue of the auction is maximized, as it is the (expected) price the user receives. By revenue equivalence, the expected revenue equals the revenue of a second-price auction:
For the specific example, this becomes:
Two claims are made about this formula:
Essentially summing up:
In markets with low congestion costs, encouraging more participation (higher k*) can improve user welfare.
In markets with high congestion costs, restricting entry might actually improve user welfare by incentivizing higher effort from each solver.
Since this model is not as intuitive as the next one, here is an analogy about chefs cooking in a competition
Once the competition begins, chefs can exert effort to improve their meals, but this effort is costly. Moreover, if many chefs are in the competition, they may face congestion in the kitchen, reducing everyone's efficiency. This is similar to solvers incurring effort costs to find better prices and facing congestion when many solvers are searching simultaneously.
During the competition, chefs may engage in "bid shading" by pricing their meals below their true quality. They do this to increase their chances of winning while still making a profit. This is analogous to solvers shading their bids in the auction to balance the trade-off between winning probability and profit margin.
The judge's welfare, like the user's welfare in an intent-based market, depends on the quality of the winning meal and the price they pay for it. This welfare is determined by the chefs' entry and pricing decisions, which are shaped by the same economic forces as in the solver market: entry costs, effort costs, congestion, and strategic bid shading.
The key insights from the auction model hold in the cooking competition analogy:
Entry costs can lead to limited participation and reduced competition among chefs.
Costly effort and congestion can result in chefs underinvesting in meal quality, similar to solvers underinvesting in price improvement.
Chefs will strategically shade their prices based on the level of competition they face, just like solvers shading their bids.
The probabilistic model presented in the previous sections provides a robust framework for understanding the strategic behavior of solvers in intent-based markets. However, it relies heavily on assumptions about the distribution of prices and the costs associated with entry and effort. While this approach is powerful, it may not capture the full complexity of real-world scenarios where solvers exhibit heterogeneous behaviors and utilities. An alternative deterministic approach, grounded in optimization theory, offers a complementary perspective. This approach allows for explicitly modeling utility and cost functions, which can be tailored to specific data and scenarios, providing a more flexible and potentially more accurate representation of solver behavior.
Both functions are defined over non-negative reals and are closed and proper.
The user's utility is given by:
This framework's central problem is maximizing social welfare, which is defined as the sum of the user’s utility and the solvers’ net utilities. This problem can be formulated as:
The Lagrangian of the social welfare maximization problem is:
$$$
h(\nu) = \sup_{y \geq 0} {G(\delta - y) + \nu y} + \sum_{k=1}^{n} \sup_{x_k \geq 0} {u_k(x_k) - c_k(x_k) - \nu x_k} $$$
$$$
h'(\nu) = \tilde{y} - \sum_{k=1}^{n} \tilde{x}_k $$$
The mechanism elicits the solver's true price for a given order size and terminates when the solver's marginal price equals that of the CFMM. Instead of proposing an order size for each solver, the mechanism proposes one price, which it broadcasts to all solvers. The solvers respond to this price with a proposed order
When the authors extend this to congestion they find that If solver cost functions are not independent and positively correlated, the user's welfare decreases. This mirrors the probabilistic model's result: under congestion costs, user welfare decreases.
In this work, we looked at an analysis of intent-based markets. The authors propose two models to model solver profiles and ultimately conclude that under certain conditions for user welfare, the designer of a market system might choose to limit participation. This can also be seen as the rise of oligopolies in intent-based market systems.
I recently read a quote by Einstein that says, “In theory, theory and practice are the same. In practice, they are not.” Having said this sometimes practical systems need theoretical groundings, there is enough evidence to see that different parts of solver-like markets in crypto are becoming oligopolies. Studying and modeling systems like this gives us a theoretical grounding to further explore other alternatives and motivates future improvements.

