Intent-Based Transaction
What Is an Intent-Based Transaction?
Traditional blockchain transactions are imperative, meaning the user must specify every step of the process. This includes choosing the decentralized exchange (DEX), navigating liquidity pools, and setting gas fees. If any part of this technical path is inefficient, the user bears the cost in the form of failed transactions or high slippage.
In contrast, an intent-based transaction is declarative. That is to say, instead of defining the how, the user defines the what. For example, a user might sign a structured intent that states: “Exchange 1 BTC for at least 70,000 USDC.” The user does not specify the route or the bridges involved; they only authorize the final state.
This shift significantly simplifies the experience for both human users and autonomous agents, allowing for more flexible execution in the Machine-to-Machine Economy.
How Intent-Based Transactions Work
The execution of an intent relies on a competitive landscape of solvers or fillers. These are essentially sophisticated third-party actors who compete to find the best possible way to satisfy a user’s request. Intent-based transactions are generally completed across four main stages:
- Expression: The user creates and signs a structured intent within their wallet interface. This defines the desired end state and constraints, such as a minimum return, a time limit, or a specific x402 payment requirement for a resource.
- Solver Competition: Solvers scan the network for these intents and compete to construct the most optimal execution path, navigating DEXs, cross-chain bridges, and gas optimization on the user’s behalf.
- Settlement: The winning solver submits the transaction to the blockchain. A specialized settlement contract acts as the final judge, verifying that the final state of the account satisfies the user’s signed intent.
- Validation: Unlike traditional transactions that might fail on-chain, solvers only submit fills that meet the user’s requirements to ensure their own profitability. If an intent cannot be filled within the user’s constraints, it simply remains unfulfilled or is cancelled, preventing wasted gas fees.
Intents are a foundational element of a more accessible, agent-assisted digital asset ecosystem. They can also provide built-in protection against certain types of market manipulation (e.g., Maximal Extractable Value (MEV)).
That being said, signing an intent requires a high degree of trust in the outcome being signed. While the technical path is abstracted, the user must be certain that the parameters of the intent are accurate. This is where a signer (hardware wallet) with a Secure Screen can help guarantee that the desired outcome you see on your device is exactly what the settlement contract will enforce.
Want to learn more about making intent-based transactions from the safety of the Ledger ecosystem? Check out our blogs on intent-based swaps with 1inch and NEAR Intents via Ledger Wallet™.