> For the complete documentation index, see [llms.txt](https://docs.megapot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.megapot.io/learn/advanced/batch-purchases.md).

# Batch Purchase

When you buy a large number of tickets at once, Megapot automatically splits your order into smaller batches. This keeps your purchase reliable and secure.

***

## Why Purchases Are Batched

Blockchain transactions have size limits. Purchasing many tickets in a single transaction could exceed these limits, causing the transaction to fail.

Batching solves this by:

* Breaking large orders into manageable chunks
* Ensuring each transaction completes successfully

You do not need to do anything different. Megapot handles the batching automatically when your order exceeds the per-transaction limit.

***

## What to Expect

For large orders, here is what happens:

1. **Single payment** - You pay once upfront for your entire order
2. **Automatic processing** - The system handles splitting and executing each batch
3. **Progressive delivery** - Tickets appear in your wallet as each batch completes
4. **Brief wait time** - Large orders may take a few minutes to fully process

The app shows your progress so you always know how many tickets have been purchased.

***

## Your Funds Are Secure

Your funds remain safe throughout the batching process:

* **Paid upfront** - Your full payment is secured before any tickets are minted
* **Guaranteed delivery** - Once paid, all your tickets will be minted
* **On-chain security** - Every ticket purchase is recorded on the blockchain

***

## Frequently Asked Questions

**How many tickets trigger batching?**

Batching kicks in for larger orders. For most purchases, you will not notice any difference. The exact threshold depends on current network conditions.

**Do batched tickets have the same odds?**

Absolutely. Batched tickets are identical to regular tickets. They are eligible for all prize tiers, including the jackpot.

***

## Need Help?

Questions about a batched purchase? Reach out on our [Support Chat](https://megapot.io/support) for help.


---

# 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.megapot.io/learn/advanced/batch-purchases.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.
