PopDEX Toolkit

Check your tickets

Reading the draw from PopDEX's chain…
How this is calculated

The rule, as the PopDEX docs state it:

“The Pop Draw takes place every Monday at 3:00 AM UTC. … Unless otherwise announced, the selected Bitcoin block is the first Bitcoin block produced at or after the scheduled draw time. … MegaPop extracts the last 6 numeric digits from the selected Bitcoin block hash to generate the Pop Hash.”
“The prize tier is determined by the number of digits that match the Pop Hash in the same position — a digit only counts as a match if both the digit and its position are the same. Matches do not need to start from the first digit or be consecutive.”
  • Pop Hash: take every digit 0–9 in the block hash (letters a–f are skipped), keep the last 6, in their original order.
  • Matching: compare your ticket with the Pop Hash position by position and count equal digits. 6 = Mega Prize (42% of the pool, shared by all 6/6 tickets), 5 = Super Prize (8% of the pool, shared), 4 = 100 USDT, 3 = 10 USDT, 2 = 5 USDT.
  • Caps and carry-over: fixed prizes (4, 3, 2 matches) are capped at 40% of the pool in total and reduced proportionally if they would exceed it. Anything not paid out rolls into the next round's pool.
  • Official result: read live from PopDEX's MegaPop contract on their chain (winning number, BTC block hash, pool and per-ticket payout for each tier). This page then recomputes the Pop Hash itself from Bitcoin (mempool.space, with blockstream.info as backup) and says whether the two match.
  • Wallet lookup: reads the wallet's tickets, prize tier, payout and claim status from PopDEX's public MegaPop API (the same data the MegaPop page in the PopDEX app shows), then re-checks every ticket against the Pop Hash on this page and compares the ticket count with getAccountTicketCount on PopDEX's MegaPop contract. The contract docs say this count “does not resolve subaccount → master”, so use the main wallet that holds the tickets.
  • Share link puts the draw and your ticket numbers (or wallet) in the link itself; nothing is stored on a server.
  • Prize per ticket for a finished draw is the official per-ticket amount for that tier. For the upcoming draw, the pool prizes are shown as an estimate from the pool size right now.

Sources: PopDEX docs: MegaPop · PopDEX docs: MegaPop contract (0x1013) · API domains (Web3 RPC)