> For the complete documentation index, see [llms.txt](https://smartscenarios.pirichain.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smartscenarios.pirichain.com/psce-functions/getrandom.md).

# getRandom

getRandom function depends to your network ROF (Random Optimization Factor) where defined in HAN.JSON file.

```javascript
return await Tools.getRandom();
// Response : 998334
```
