verity_ic::random

Function get_random_number

source
pub fn get_random_number() -> u64
Expand description

Retrieves a random number for use in the canister. Assumes init_ic_rand has been called previously.