Type Alias: RandomnessStateUpdate
type RandomnessStateUpdate = {
epoch: bigint;
randomBytes: ArrayBuffer;
randomnessObjInitialSharedVersion: VersionLike;
randomnessRound: bigint;
};
Randomness update
BCS
The BCS serialized form of this type is specified in
bcs-schema.abnf.
Properties
epoch
epoch: bigint;
Epoch of the randomness state update transaction
randomBytes
randomBytes: ArrayBuffer;
Updated random bytes
randomnessObjInitialSharedVersion
randomnessObjInitialSharedVersion: VersionLike;
The initial version of the randomness object that it was shared at
randomnessRound
randomnessRound: bigint;
Randomness round of the update