Function sp_io::offchain::random_seed

source ·
pub fn random_seed() -> [u8; 32]
Expand description

Returns a random seed.

This is a truly random, non-deterministic seed generated by host environment. Obviously fine in the off-chain worker context.