Skip to main content

RandomnessStateUpdate

Namespace: IotaSdk

Randomness update

BCS

The BCS serialized form for this type is defined by the following ABNF:

randomness-state-update = u64 u64 bytes u64
public record class RandomnessStateUpdate : System.IDisposable, System.IEquatable`1[[IotaSdk.RandomnessStateUpdate, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → RandomnessStateUpdate
Implements IDisposable, IEquatable<RandomnessStateUpdate>
Attributes NullableContextAttribute, NullableAttribute

Properties​

Epoch​

Epoch of the randomness state update transaction

public ulong Epoch { get; init; }

Property Value​

UInt64

RandomnessRound​

Randomness round of the update

public ulong RandomnessRound { get; init; }

Property Value​

UInt64

RandomBytes​

Updated random bytes

public Byte[] RandomBytes { get; init; }

Property Value​

Byte[]

RandomnessObjInitialSharedVersion​

The initial version of the randomness object that it was shared at

public Version RandomnessObjInitialSharedVersion { get; init; }

Property Value​

Version

Constructors​

RandomnessStateUpdate(UInt64, UInt64, Byte[], Version)​

Randomness update

BCS

The BCS serialized form for this type is defined by the following ABNF:

randomness-state-update = u64 u64 bytes u64
public RandomnessStateUpdate(ulong Epoch, ulong RandomnessRound, Byte[] RandomBytes, Version RandomnessObjInitialSharedVersion)

Parameters​

Epoch UInt64
Epoch of the randomness state update transaction

RandomnessRound UInt64
Randomness round of the update

RandomBytes Byte[]
Updated random bytes

RandomnessObjInitialSharedVersion Version
The initial version of the randomness object that it was shared at

Methods​

Dispose()​

public void Dispose()