# Decrypt quant random

To decrypt the random after purchase, a transaction in the `quant.coding` contract must be performed

```
cleos -u <address node> push action quant.coding encdecval '["<owner>", "quant.random"]' -p <owner>
```

the result will be returned in the transaction

<figure><img src="/files/7hk9d7bbOf69cnNNCxqk" alt=""><figcaption></figcaption></figure>

<mark style="color:red;">**IMPORTANT:**</mark> for testnet use ***quantcoding1*** account with decryption contract.

```
cleos -u <address node> push action quantcoding1 encdecval '["<owner>", "quant.random"]' -p <owner>
```


---

# 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://sp8de-docs.gitbook.io/s-p-8-d-e-or-white-paper/smart-contract-user-funct./decrypt-quant-random.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.
