# Verifiable Random Function (VRF)

####

Randomness plays a critical role in applications such as prediction markets and validator selection. SFI L2 incorporates Verifiable Random Functions (VRFs) to deliver provably fair and unpredictable random outputs. A VRF generates randomness that is both cryptographically secure and verifiable onchain. By integrating VRFs into its core architecture, Singularity Finance establishes a foundation for fairness and transparency in applications that require randomness.

<br>


---

# 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.singularityfinance.ai/sfi-l2/core-features/verifiable-random-function-vrf.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.
