# How it works

<figure><img src="/files/UgEqVWJb4YJen3DPOpew" alt=""><figcaption></figcaption></figure>

The flow of the intent-based transaction system involves several components, from users to decentralized applications (dApps). Here’s a breakdown of each stage:

1. **Users:** The process begins with users who express their goals or intents. Instead of specifying detailed actions, users only need to describe what they want to achieve.
2. **Lamina Unified Frontend (Protocol API):** The expressed intents are received by the Smart Contract Wallet (SCW) frontend. It converts these intents into a more detailed format called User Operations (UserOps).
3. **Lamina Interop Infrastructure (Crosschain API):** The UserOps are then handled by bundlers. Bundlers validate and group these operations, executing the necessary steps to meet the intent. The Solvers are then responsible for interpreting the intents and determining how to fulfill them. They also handle payment of gas fees and other execution details.
4. **SCW Contracts:** The bundlers communicate with SCW contracts, which are smart contracts specifically designed to manage the users' wallets and execute the required transactions according to the UserOps.
5. **Dapps:** Finally, the processed transactions are sent to decentralized applications (dapps) for execution. This is where the actual transaction takes place, fulfilling the user’s original intent.

In this system, the user's experience is streamlined because they only need to specify the end goal (intent), and the underlying infrastructure handles all the complex operations needed to achieve that goal. This approach aims to enhance user experience by abstracting the complexities involved in blockchain transactions.

{% content-ref url="/pages/HhNSc069qhn65WkAOvGE" %}
[Crosschain System Overview](/technology/crosschain-system-overview.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lamina.finance/introduction/how-it-works.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
