How to access the random beacon

Summarizing the duplicate forum post here:

import Random "mo:base/Random"

...

    // 32-bytes of entropy.
    let beacon : Blob = await Random.blob();

2 Likes