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

# Prize tables

> How a prize table splits rolls between prizes, and how each winner's roll picks their prize.

A prize table splits a fixed number of rolls between prizes. Each prize owns a run of rolls as wide as its **weight**, biggest prize first from 0. Each winner rolls a number from 0 to one less than the total, and the run it lands in is their prize. It's the order the Prizerail contract takes.

The default table, with 100,000 rolls:

| Prize | Weight | Rolls | Odds |
| - | - | - | - |
| \$100,000 | 1 | 0 | 1 in 100,000 |
| \$1,000 | 10 | 1 to 10 | 1 in 10,000 |
| \$100 | 400 | 11 to 410 | 1 in 250 |
| \$20 | 4,000 | 411 to 4,410 | 4.0% |
| \$10 | 50,000 | 4,411 to 54,410 | 50.0% |
| \$5 | 45,589 | 54,411 to 99,999 | 45.6% |

Each winner wins \$9.58 on average with this table.

## Rules

* A table has at least two prizes.
* The weights must add up to the total rolls exactly, and each is a whole number above 0. The total can be up to 2,147,483,647.
* Each prize is a whole number of cents, up to \$1,000,000.

## Changing the table

Publish a new version from the campaign's **Prize table** in the partner portal. Drawings that are still open switch to it. Drawings that have locked keep the version they locked with, and each draw's proof names the table it used.

## Large prizes

Prizes at or above the campaign's large-prize threshold, \$500 by default, aren't sent in the automatic transfer. They're held and paid by Prizerail by hand, and show `heldForManualPayout: true` in the API.


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