Summarizing the duplicate forum post here:
import Random "mo:base/Random"
...
    // 32-bytes of entropy.
    let beacon : Blob = await Random.blob();
            Summarizing the duplicate forum post here:
import Random "mo:base/Random"
...
    // 32-bytes of entropy.
    let beacon : Blob = await Random.blob();