# 原子性

Solana 保证在 Rome 交易内的所有交易作为原子性执行，这意味着作为该 Rome 交易一部分的所有交易要么全部成功，要么全部失败。它消除了捆绑中某一链上的交易回滚的风险。

这使得 **无需信任、非托管的** 交易成为可能，用于 **跨 rollup** 和 **跨链** **套利** 在 L2 与 Solana 之间， **闪电贷**，以及 **真实世界资产 (RWA) 应用**.&#x20;

Solana 是 **全球状态机** 为使用 Rome 的 rollup 提供服务，允许交易的原子组合、排序/执行。

<figure><img src="/files/dabe7dd725b0ba6485c58399fcf0850e1ff84d01" 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/zh/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.
