# Atomicity

Solana guarantees the execution of all transactions within a Rome transaction as atomic, meaning either all transactions that are part of this Rome transaction succeed or none of them succeed. It removes the risk of a transaction in the bundle reverting only on one chain.

This enables **trust-less, non-custodial** transactions for **cross-rollup** and **cross-chain** **arbitrage** between L2s and Solana, **flash loans**, and **RWA applications**.&#x20;

Solana is the **global state machine** for rollups that use Rome, allowing the atomic composition, and ordering/execution of transactions.

<figure><img src="/files/8uyaLDkm8IQJ7tM0ayQv" alt=""><figcaption></figcaption></figure>


---

# 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.rome.builders/legacy/shared-sequencer/atomicity.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.
