> For the complete documentation index, see [llms.txt](https://gitbook.agorahub.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.agorahub.io/agoras-products/agoras-technology/loot-box-vault.md).

# Loot Box Vault

Some or all prizes may be issued on different blockchains. For instance, a loot box launched in Arbitrum may have a grand prize issued in Ethereum. To support this case each Loot Box has an embedded vault and peripheral vaults on different blockchains, one for each if they contain played prizes.

The Vault, compatible with EVM or WASM, has one primary function - to hold prizes until winners withdraw them. It also features an optimised method for withdrawing all prizes and accumulated tokens in a single transaction. Thus should decrease usage of gas.

Prize withdrawal verification is ensured by checking provided signatures, which cover chain ID, user account, and prize details, guaranteeing the right person receives the correct prize. To prevent double spending, each prize has a unique ID that can only be used once. The vault controls it.


---

# 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://gitbook.agorahub.io/agoras-products/agoras-technology/loot-box-vault.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.
