Type Alias: RandomnessStateUpdate
type RandomnessStateUpdate = {
epoch: bigint;
randomBytes: ArrayBuffer;
randomnessObjInitialSharedVersion: VersionLike;
randomnessRound: bigint;
};
Randomness update
BCS
The BCS serialized form for this type is defined by the following ABNF:
randomness-state-update = u64 u64 bytes u64
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