> For the complete documentation index, see [llms.txt](https://docs.klyntar.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.klyntar.org/smart-contracts-and-vms/writing-smart-contracts/get-random-value-from-contract.md).

# Get random value from contract

## Using current epoch as a pseudo-random value

### KLY-EVM

TODO

### KLY-WVM

TODO

## Using VRF - verifiable random function

### KLY-EVM

TODO

### KLY-WVM

TODO
