# Transaction Processing

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXfg4l96K0_DvgbbqZULQV9mDp9q9NF76HI7SOLVr9u_1cNaqp_y1HyV_IZiB2lbqm02Aa-jm_ruF3f2FYKGu129mqBEw_eowColUgSMgnRwe2rSYPAW2RbnZ3FyBoneRYL4NTxW1w?key=Oly7NDP5AOdrfVUgfaYN0L4f)

●   Transaction creation: Users generates Midl raw transactions (intents), signs them, and includes the corresponding BTC transaction hash.

●   Execution: Validators work with virtual assets on the Bitcoin network. They acknowledge the Bitcoin transactions and virtually mint the corresponding assets needed to process the dApp transactions within the Midl network.

●   Finalization: After processing the dApp transactions, the validators burn the virtual balances. They then return actual Bitcoin transactions containing the assets to the users, completing the process.

●   Committing Midl state to BTC: After execution of all BTC block transactions related to Midl, Midl validators create Midl compact state proofs and commit them to BTC to later be used to verify Midl state against it and for users to verify valid BTC dApps execution.

<br>


---

# 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://midl.gitbook.io/midl/midl-overview/transaction-processing.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.
