1What the lottery is
Out of every block's reward, 50 DIVI is held back for the lottery instead of going to the staker. A lottery cycle is 10,080 blocks, which at one block a minute is one week. At the end of the cycle the held-back coins, 504,000 DIVI, are paid out in the cycle's last block to eleven stakers: half to one big winner, the rest split ten ways.
You do not buy a ticket. Any stake of more than 10,000 DIVI that wins a block during the week is entered automatically. How to make your wallet eligible is a staking question, covered in The lottery; this page is about reading the results.
2Which blocks are lottery blocks
A lottery block is any block whose height divides exactly by 10,080. On mainnet the last two were 4,253,760 and 4,263,840, and the next is 4,273,920. To find the next one, take the current block height from the front page of Explorer 2.0 and round it up to the next multiple of 10,080.
# Next lottery block after height 4,269,280
(4269280 // 10080 + 1) * 10080 = 4273920
A lottery block looks like any other on the explorer. Nothing on the block page says "lottery"; what gives it away is the second transaction, which has eleven more outputs than usual.
3Read the winners off the block
Open the lottery block in Explorer 2.0, for example block 4,263,840, and click its second transaction, the coinstake. If reading a block is new to you, Read a block explains the layout.
The outputs of that transaction are the result sheet:
| Output | Amount | Who gets it |
|---|---|---|
| 0 | empty | Nobody; this is how a staking transaction is marked. |
| 1 | stake + 415 DIVI | The wallet that staked the lottery block itself. Not a lottery prize, just the normal block reward. |
| 2 | 252,000 DIVI | The first-prize winner. |
| 3 to 12 | 25,200 DIVI | The ten runners-up, in rank order. |
The address beside each output is the winner. Click it to open the address page and see the prize arrive in its history. It shows as an IN row, not a STAKE row, with the staker of the lottery block as the sending address, because the winner's own coins were not part of that transaction.
If the winning stake was in a staking vault, the prize goes to the vault's script, so the explorer shows two addresses on that output: the vault's staking key and the owner. The owner's address is where the coins are really spendable. First prize in block 4,263,840 went to a vault, which is why its row shows a pair. Look up an address explains vault addresses.
4See who is in the running right now
The chain keeps a running leaderboard of the best eleven tickets so far this week, and a node will show it to you. The public RPC service exposes the call, so one curl does it:
curl -s -X POST https://services.divi.domains/api/rpc/ \
-H 'content-type: application/json' \
-d '{"jsonrpc":"1.0","id":1,"method":"getlotteryblockwinners","params":[]}'
The answer lists the current block and a Lottery Candidates array. Each entry has an Address, a Rank (0 is the leader, 10 is the last place that still pays) and an eight-character Score; higher scores rank higher. If these eleven are still on top when the lottery block arrives, they are the winners. A vault shows as two addresses joined by a colon.
To see the leaderboard as it stood at an earlier block, pass the height. To see exactly who was paid in a past lottery block, ask for the block before it:
# The eleven paid in block 4263840 were the leaders at block 4263839 -d '{"jsonrpc":"1.0","id":1,"method":"getlotteryblockwinners","params":[4263839]}' # The lottery block itself answers with an empty list: a new week has begun -d '{"jsonrpc":"1.0","id":1,"method":"getlotteryblockwinners","params":[4263840]}'
Checked on 2026-10-21: the eleven candidates at block 4,263,839 match the eleven addresses paid in block 4,263,840, rank 0 on output 2, rank 1 on output 3, and so on. The same call is on the RPC playground if you would rather click than type; more about the service itself in Query the chain.
5How the draw works
Everything below comes from the Divi node source, so it is the rule the whole network enforces, not a description of a website.
- A ticket is a block. Each time a wallet stakes a block, the node adds up what the coinstake paid back to the staker's address. If that is more than 10,000 DIVI, the block is a ticket. Stake less and you still earn the block reward, you just are not in the draw.
- The score is a hash. The ticket's transaction id is hashed together with the hash of the previous lottery block. Nobody can predict the previous lottery block's hash ahead of time, so nobody can choose a lucky transaction id.
- Only the top eleven are kept. After every block the node sorts the tickets by score and drops everything below eleventh place. That is the list the call in step 4 returns.
- One prize per address. If one address holds several top-eleven tickets, only its best counts and the extra ones are trimmed from the list, so eleven different addresses are paid.
- Winners sit out three weeks. An address that was paid in the last three lottery blocks cannot enter. Its blocks are still valid stakes, they just do not become tickets until the veto lapses.
- The payout is checked by everyone. A lottery block must pay exactly half the pot to rank 0 and a tenth of the other half to each of ranks 1 to 10, to exactly those addresses. A block that pays anyone else is rejected by every node.
The score is random, so every ticket has the same chance. What is not equal is how many tickets you get: a wallet that stakes more blocks in a week enters more tickets. That is why the lottery is, in the end, weighted by how much you stake, like staking itself. The numbers behind "how often will I stake" are in Estimate your stakes.
6Check an address's lottery history
On the address page a prize is an IN row of exactly 252,000 or 25,200 DIVI whose sending address is a staker and whose block height divides by 10,080. The first-prize winner of block 4,263,840, for instance, has the row 2026-10-18 07:07:04, IN, 252000.00 in its history. The CSV export makes this easy to filter in a spreadsheet: keep the rows whose Block height divides by 10,080.
On chainz, open the lottery block's page, for instance block 4263840. chainz reports the block as "Created 504,415 DIVI": the 415 DIVI staker reward plus the 504,000 DIVI pot, which it counts as new coins at the moment they are paid.
If something goes wrong
| You see | What it means |
|---|---|
| Lottery Candidates is an empty list | You asked for a lottery block itself (the week just reset), or a block from before anyone staked a ticket this week. Ask for the block one earlier. |
| Fewer than eleven candidates | Early in the week, or on testnet where few wallets stake over 10,000 DIVI. The list fills up as tickets arrive. |
| The same address appears twice | Two tickets from one address in the running; only the best will be paid, the other is trimmed before the draw. |
| The coinstake has only two outputs | It is not a lottery block. Check that the height divides exactly by 10,080. |
| Method not allowed | The public RPC service only allows read-only calls; getlotteryblockwinners is one of them, so check the spelling. |
Still stuck? Ask the Divi chatbot, or see all tutorials.