# How The Winning No Is Drawn?

Lottery draws require randomness to create unpredictable, fair, and tamper proof drawings and distribution of the rewards.

&#x20;Redemption utilizes Chainlink’s Verifiable Random Function (VRF) service for generating randomness of a matching number for the winning ticket to guarantee fair and auditable rewards distribution and user engagement.

### <mark style="color:green;">How To Win?</mark>

Once the timer ends, the VRF will generate an X-digit random winning number depending on the type of pool you have participated in. For this example, we assume that you have participated in a <mark style="color:green;">**5-Digit Lottery Pool**</mark>.&#x20;

Hence, the VRF will generate a <mark style="color:green;">**5-digit random winning number**</mark>.&#x20;

Match your lottery ticket number to the winning number from left to right. Let’s say the winning number is:

<figure><img src="/files/sqd02OxlIv83Nvam4DFc" alt=""><figcaption></figcaption></figure>

and your ticket number is:   &#x20;

<figure><img src="/files/zKEqs3wTgESZGl3XUfmX" alt=""><figcaption></figcaption></figure>

In this case, the <mark style="color:green;">**first 3 numbers**</mark> of your lottery ticket match the winning number in the same order. Even though your last digit also matches the winning number in the same order, as the 4th one does not match, you would win a <mark style="color:green;">**"Match first 3"**</mark> prize.&#x20;

Keeping the winning number the same as above, let’s say your ticket number is

<figure><img src="/files/vlRgkqwEkjgdYw7BeHX9" alt=""><figcaption></figcaption></figure>

In this case, you do not fall in any winning bracket despite that the last 4 digits on your lottery ticket match with the winning number in the same manner. But as we have to match the number from left to right, this ticket isn’t eligible for any prize.&#x20;

<mark style="color:green;">**Here’s a BONUS point:**</mark> Each lucky draw can have multiple winners. When there is only a single winner, that person will take all the prize money. But in the case of multiple winners, the prize money will be divided according to the number of winners and the prize brackets they fall in.


---

# Agent Instructions: 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:

```
GET https://docs.redemptiontoken.com/how-to-earn/lottery/how-the-winning-no-is-drawn.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
