# Requesting Random Values

The deployed contract sends requests for random values to Plugin VRF, acquires those values, constructs a struct RequestStatus, and stores it within mapping s\_requests.&#x20;

1. Navigate back to Remix and review the available functions of your deployed contract listed under Deployed Contracts.
2. Execute the requestRandomWords() function on your contract to trigger the request. MetaMask prompts confirmation of the transaction. Upon approval, Plugin VRF processes your request, fulfills it, and returns the random values to your contract via a callback to the fulfillRandomWords() function. Subsequently, a new key requestId is appended to the mapping s\_requests.

Given the prevailing conditions of the testnet, anticipate a brief interval before the callback delivers the requested random values to your contract.

<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.goplugin.co/plugin-vrf-subscription/requesting-random-values.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.
