> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jup.ag/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> These docs cover what users see and do on jup.ag, Jupiter Mobile and Jupiter Wallet.
> Universal Deposit, the GUM route in Jupiter Bridge Aggregator and other GUM integrations on jup.ag are built by GUM. For how they work, their full fee rules, security model and APIs, the reference is the GUM docs: start from https://docs.gum.ag/llms.txt.
> When the GUM docs and these docs differ on how a GUM product behaves on jup.ag, describe the jup.ag experience from these docs and the mechanics and fees from the GUM docs.

# Pack Battles

> Jupiter Gacha Pack Battles: 2 to 4 players pay the same entry, open the same packs round by round, and the highest total card value wins every card.

In a pack battle, 2 to 4 players pay the same entry and open the same packs side by side, one pack each per round. When the last round is revealed, the player with the highest total card value wins every card pulled in the battle. The other players get nothing, not even the cards from their own packs.

Pack battles live in the **Battles** tab of [Jupiter Gacha](https://docs.jup.ag/user-docs/trade/gacha/index.md), at `jup.ag/gacha/battles`.

## Prerequisites

* A connected Solana wallet
* Enough USDC to cover the entry
* A region where pack battles are available: elsewhere, creating or joining a battle is refused

Creating, joining, leaving and cancelling a battle each ask for a wallet signature that moves only your USDC. Jupiter pays the network fee of these transactions. If you leave or cancel from a wallet that has no USDC account, your wallet pays the rent to open one.

## How a battle works

| | |
| - | - |
| Players | 2 to 4, set by the creator |
| Rounds | 1 to 10. Each round names one pack, and every player opens one of it |
| Packs | Collector Crypt and Phygitals packs on sale in Jupiter Gacha, mixed freely across rounds. Packs that have ended and Jupiter's own free packs can't be picked, and the list of eligible packs can change |
| Entry | The sum of the prices of the packs one player opens, paid in USDC, the same for every player. Battles take no fee on top |
| Join window | 10 minutes. A battle whose seats don't fill in time is refunded |
| Winner | The highest total value of the cards pulled across all rounds |
| Prize | Every card pulled by every player in the battle |

The player counts, round limit and join window are launch values: the app prevails.

When the last seat is taken, every entry moves to Jupiter, which buys each pack from its provider and opens it for its player. If a pack can't be bought, the battle fails and every entry is refunded.

### Ties

If players tie for the highest total, the winner is drawn at random among them. The random number is requested onchain when the battle fills, before any pack is opened, so nobody can know or change it. The number is divided by the count of tied players, and the remainder picks the winner. On a battle decided this way, the page reads *Tied on Total Value · Winner Drawn at Random*, and **How It Was Drawn** opens the details, with **Check the Number On-Chain** to verify it in a block explorer.

## Create a battle

**1. Open Create Battle**

On the Battles tab, click **Create Battle**. Under the Open and My Battles lists, Start Your Own Battle also suggests ready-made battles (Starter, Mixed and High Roller); **Create for** on one opens the same dialog with its packs and players already set.

**2. Pick the packs**

Choose a pack category, then turn the pack dial with **Previous pack** and **Next pack**. Use the plus and minus buttons to add or remove rounds with the selected pack. You can mix several packs in one battle.

**3. Pick the number of players**

Set Players to 2, 3 or 4. Win Chance shows your odds, for example "1 in 2 · 50%", and Winner Gets shows how many cards the winner takes and the highest prize the packs can produce.

**4. Choose whether to hide the battle**

Turn on **Hidden Battle** to keep the battle out of the Open list. Anyone with its link can still join, so share the link to invite players.

**5. Pay the entry**

Click **Create Battle for** the amount shown, and approve in your wallet. The battle opens with you in the first seat.

The dialog repeats how long other players have to join. If the seats don't fill in that time, every entry is refunded.

To bring other players in, open your battle and click **Invite**, then **Copy Link**. The link opens the battle for anyone, with or without a wallet.

## Join or leave a battle

The **Open** list shows the battles that still have free seats, with their entry, rounds, players and the highest prize they can produce (Win Up To). Filter it by pack category and by entry price (Under \$100, \$100 to \$1K, \$1K+). Hidden battles are not listed: you join them from their link. To join, click **Join for** the entry on a battle card, or **Join Battle for** on the battle's page, and approve in your wallet.

While a battle is still open, you can click **Leave Battle** to free your seat and get your entry back. The creator can click **Cancel Battle**, which ends the battle and refunds every player; a creator who leaves their own battle ends it the same way. If two players take the last seat at the same moment, only one join goes through, and the other is not charged.

After you sign, the page waits until the battle shows your seat (or its release), which can take up to about 90 seconds. See [Messages](#messages) if it takes longer.

## Watch the reveal

Once every seat is taken, the battle shows *All Players In* while the packs are bought and opened for all players (*Opening packs…*), then *Ready*. After a 3-2-1 countdown, the reels reveal one card per player per round, with the round number (for example *Round 2 of 3*) and each player's running total. The player in the lead is marked as the rounds go. **Skip to Result** jumps to the end, and **Show All Cards** lists every card pulled.

At the end, the winner sees *You Won* and the other players *You Lost*. Click the winner's stack of cards to see each card with its value.

## Keep or sell the prize

The winner receives every card of the battle in their Gacha [Collection](https://docs.jup.ag/user-docs/trade/gacha/collection.md). While the cards are being transferred, the page reads *Delivering Cards…*, and selling becomes available once they arrive. Then choose:

* **Sell All for** the amount shown: sells every card back for USDC through the [instant buyback](https://docs.jup.ag/user-docs/trade/gacha/instant-buyback.md). The line under it shows the share of the card value the instant sale pays, which follows each pack's [buyback rate](https://docs.jup.ag/user-docs/trade/gacha/instant-buyback.md).
* **Choose Cards to Sell**, when you won more than one card: pick the cards to sell back and keep the others.
* **Keep Cards**: the cards stay in your Collection, where you handle them like any other pull, buyback offer included while it lasts.

**Rematch for** creates a new open battle with the same packs and number of players, and charges your entry once. **Replay Battle** plays the reveal of a finished battle again.

## Battle lists and statuses

The Battles tab has three lists: **Open**, **Finished** (every finished battle, each with **Watch** to see its result and replay) and **My Battles** (the battles you joined, which needs a connected wallet).

| Status | What it means |
| - | - |
| Open | Seats can still be joined |
| Opening packs | Every seat is taken, and the packs are being bought and opened |
| Ready | The packs are opened and the reveal can start |
| You Won / You Lost | The battle is finished and the winner has every card |
| Refunded | The battle was cancelled by its creator or didn't fill in time. Every entry was returned, and its card reads *Entry Refunded* |
| Failed | A pack couldn't be bought. Every entry was returned |

## Messages

| Message | What it means |
| - | - |
| *Still confirming. Check the battle again in a moment.* | Your payment was sent but not confirmed in time. The button becomes **Check Again**, which checks the same battle again without paying a second time |
| *The entry is now \[amount] USDC. Nothing was charged.* | A pack price changed before you paid. Check the new entry and try again |
| *Sales still confirming* | An instant sale of the prize cards is not confirmed yet. Check your Collection and USDC balance before selling again |
| *No longer available for battles and left out: \[packs]. Check the rounds and entry before you create.* | A rematch or suggested battle included a pack that can no longer be used in battles. The rounds and the entry were adjusted without it |
| *Battle not found* | The link is wrong, or the battle is no longer available |

## Risks

> [!WARNING]
>
> A pack battle is winner-takes-all: if you lose, you get nothing, not even the cards from the packs you paid for. With more players, your chance of winning drops (1 in 2 to 1 in 4), and pack outcomes stay random, so the winner's prize can be worth less than the entries paid. Only spend what you are comfortable losing.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.