> For the complete documentation index, see [llms.txt](https://docs.altlayer.io/altlayer-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.altlayer.io/altlayer-documentation/restaked-rollups/vital-for-decentralised-verification/tier-3-finality.md).

# Tier-3 Finality

**Tier 3 Finality**

At this state the transaction data and the new state is committed on Layer 1. The rollup system now undergoes a challenge period.

If a proposed state commitment goes unchallenged for the duration of the challenge period, then it is considered final, after which smart contracts on Layer 1 can safely accept withdrawal proofs about the state of the rollup based on that commitment. If a state commitment is challenged successfully, the invalid batch and those published afterward will be reverted, restoring the rollup to its old state root. The rollup protocol will then need to re-execute the transactions and update the rollup's state accordingly.

After the challenge period is over, withdrawals from Layer 2 to Layer 1 are finally allowed. Withdrawals are cross-domain transactions that are initiated on Layer 2 and finalized by a transaction executed on Layer 1, such as to transfer tokens from a Layer 2 account to a Layer 1 account. A user just needs to provide a Merkle proof (using calldata) to the rollup contract that proves their transaction was included in the rollup’s state root.

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.altlayer.io/altlayer-documentation/restaked-rollups/vital-for-decentralised-verification/tier-3-finality.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
