# Overview of Rollups

## Blockchain Technology Overview

Blockchain technology forms the backbone of various decentralized networks, allowing multiple parties to engage in secure, transparent transactions without central oversight. This technology underpins not only cryptocurrencies but also a wide range of applications across different industries due to its inherent characteristics like immutability and distributed consensus mechanisms.

## **What Are Rollups and Why Are They Needed?**

Rollups are a layer 2 scaling solution for blockchains like Ethereum. They process transactions off-chain and then bundle (or "roll up") multiple transactions into a single batch, which is then posted on the main blockchain. This reduces the load on the main chain, significantly lowering transaction fees and increasing throughput.

## **Why Are Rollups Needed?**

1. **Scalability**: By processing transactions off-chain, rollups can handle many more transactions per second than the main chain.
2. **Lower Costs**: Fewer transactions on the main chain means lower gas fees.
3. **Maintained Security**: Despite being processed off-chain, transactions still benefit from the security of the main chain.

## **Types of Rollups**&#x20;

Rollups are primarily categorized into two types: Optimistic and Zero-Knowledge (ZK) Rollups. Optimistic Rollups assume transactions are valid by default and allow a challenge period for verification, while ZK Rollups use cryptographic proofs for immediate transaction validation without awaiting challenges. Both types aim to enhance scalability by processing transactions off-chain before finalizing on the main chain.

<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://docs.etherscale.xyz/core-concepts/overview-of-rollups.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.
