Skip to main content

EndOfEpochData

Namespace: IotaSdk

Data which, when included in a [CheckpointSummary], signals the end of an Epoch.

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

public record class EndOfEpochData : System.IDisposable, System.IEquatable`1[[IotaSdk.EndOfEpochData, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

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

Properties​

NextEpochCommittee​

public ValidatorCommitteeMember[] NextEpochCommittee { get; init; }

Property Value​

ValidatorCommitteeMember[]

NextEpochProtocolVersion​

public ulong NextEpochProtocolVersion { get; init; }

Property Value​

UInt64

EpochCommitments​

public CheckpointCommitment[] EpochCommitments { get; init; }

Property Value​

CheckpointCommitment[]

EpochSupplyChange​

public long EpochSupplyChange { get; init; }

Property Value​

Int64

Constructors​

EndOfEpochData(ValidatorCommitteeMember[], UInt64, CheckpointCommitment[], Int64)​

Data which, when included in a [CheckpointSummary], signals the end of an Epoch.

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

public EndOfEpochData(ValidatorCommitteeMember[] NextEpochCommittee, ulong NextEpochProtocolVersion, CheckpointCommitment[] EpochCommitments, long EpochSupplyChange)

Parameters​

NextEpochCommittee ValidatorCommitteeMember[]

NextEpochProtocolVersion UInt64

EpochCommitments CheckpointCommitment[]

EpochSupplyChange Int64

Methods​

Dispose()​

public void Dispose()

ToBcs()​

Convert this type to BCS encoded bytes.

public Byte[] ToBcs()

Returns​

Byte[]

Exceptions​

SdkFfiException

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​

String

ToJson()​

Convert this type to a JSON encoded string.

public string ToJson()

Returns​

String

Exceptions​

SdkFfiException