# Hercules

Hercules menerima blok transaksi yang terurut dari Solana. Ia mengeksekusi muatan blok tersebut pada rollup, sehingga memajukan status rollup.

Pengguna rollup mendapatkan konfirmasi cepat langsung dari Solana tanpa harus menunggu Hercules, yang dapat memakan waktu lebih lama sementara Solana memfinalisasi transaksi.

Ini memberikan finalitas deterministik untuk urutan transaksi. Urutan transaksi ini bersama dengan akar Merkle dari transaksi dikirimkan ke Ethereum.

<figure><img src="/files/139194476582e6bd4e67e44ec568096217625552" alt=""><figcaption></figcaption></figure>

Diagram alur transaksi untuk Hercules

<figure><img src="/files/f383884aa8b7d16b335429f25fe19775c42afc18" 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/id/legacy/shared-sequencer/hercules.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.
