RandomnessStateUpdate
Namespace: IotaSdk
Randomness update
BCS
The BCS serialized form of this type is specified in
bcs-schema.abnf.
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
RandomnessRound
Randomness round of the update
public ulong RandomnessRound { get; init; }
Property Value
RandomBytes
Updated random bytes
public Byte[] RandomBytes { get; init; }
Property Value
RandomnessObjInitialSharedVersion
The initial version of the randomness object that it was shared at
public Version RandomnessObjInitialSharedVersion { get; init; }
Property Value
Constructors
RandomnessStateUpdate(UInt64, UInt64, Byte[], Version)
Randomness update
BCS
The BCS serialized form of this type is specified in
bcs-schema.abnf.
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()
ToBcs()
Convert this type to BCS encoded bytes.
public Byte[] ToBcs()
Returns
Exceptions
ToDisplayString()
Render this type as human-readable text.
The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.
public string ToDisplayString()
Returns
ToJson()
Convert this type to a JSON encoded string.
public string ToJson()