> For the complete documentation index, see [llms.txt](https://doc.giveaway.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.giveaway.com/overview/what-is-giveaway.com/how-to-verify-fairness.md).

# How to Verify Fairness

**1.**&#x46;ollowing the drawing of the giveaway, click the icon on the giveaway page: **Provably Fair Draw**

![](https://3856175069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSCcgtMgMVoFGosObceVd%2Fuploads%2FafQtF4imaA8ZdJj2h5IV%2FScreen%20Shot%202022-05-31%20at%2017.45.17.png?alt=media\&token=053ef7f6-53eb-4815-baf8-b6ce85d5600e)

**2. What information you will need to verify fairness:**

* **Before the draw,** you are given the following information: ServerSeed Hash, Number of Participants, Number of Winners and your PID.

ServerSeed Hash is used to verify the ServerSeed after the giveaway is drawn, to confirm whether we have tampered. You will get ServerSeed after the draw.

![](https://3856175069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSCcgtMgMVoFGosObceVd%2Fuploads%2FR4LdcfVs5e7U28Zd4PQs%2Fv2.png?alt=media\&token=1c9f8dc5-d106-4a5f-9520-1e3603a90ce3)

* **After the draw**, you are able to view all following information which will be used for verifying the fairness by algorithm: ServerSeed, ServerSeed Hash, ClientSeed (Target ETH block hash), Number of Participants, Number of Winners and your PID.

![](https://3856175069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSCcgtMgMVoFGosObceVd%2Fuploads%2FzQQPq5wbQE2mXNVAq676%2Fpf.png?alt=media\&token=44541083-6127-428e-aac8-a8bd0c0eaf31)

**How to verify:** To determine whether we've tampered with it or not, you can encrypt the **ServerSeed** given in the giveaway using **HmacSHA256**, and compare the hashed value with the **ServerSeedHash** given in the giveaway.

**How to check the result:** If the ServerSeed Hash you got in HmacSHA256 matches the one given in the giveaway (the values are the same)✅, it indicates that no tampering has occurred.

![](https://3856175069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSCcgtMgMVoFGosObceVd%2Fuploads%2Fz9p21sd27U4Zjt8XXgQ4%2Fhash2.png?alt=media\&token=93f8fdc9-0cfe-4c3a-95b8-4b52a1142d8b)

### **To verify the giveaway result** <a href="#to-verify-the-giveaway-result" id="to-verify-the-giveaway-result"></a>

**4.** To verify the draw result, click **Verify** first.

![](https://3856175069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSCcgtMgMVoFGosObceVd%2Fuploads%2FeqSXcNPswGVlj4pSsWMX%2Fverify.png?alt=media\&token=7b3cd514-bf74-41dd-8596-7957372caecc)

**5.** Now you enter the verification page. There is no need to change anything, click **Verify** again to begin verifying your giveaway results automatically by the algorithm.

![](https://3856175069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSCcgtMgMVoFGosObceVd%2Fuploads%2Fsx6KqDYtOcA7LetEWM4U%2Fv.png?alt=media\&token=1b2d9b36-46c4-4c9e-b22f-627bc34a64c0)

**6.** By using algorithms, the verified result will be displayed here; the result will show whether your giveaway result matches what you got, if it does, it means the giveaway is fair and genuine.

![](https://3856175069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSCcgtMgMVoFGosObceVd%2Fuploads%2FtvuU440CSB6zU4b7Sa1m%2Fresult.png?alt=media\&token=e9e7906e-129f-40ae-b826-685ff0e68b74)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://doc.giveaway.com/overview/what-is-giveaway.com/how-to-verify-fairness.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
