Skip to main content

GrpcEpochInfo

Namespace: IotaSdk

Information about an epoch.

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

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

Properties​

Epoch​

The epoch id.

public ulong? Epoch { get; init; }

Property Value​

UInt64?

Committee​

The committee governing the epoch.

public ValidatorCommittee? Committee { get; init; }

Property Value​

ValidatorCommittee

SystemStateBcs​

Snapshot of IOTA's SystemState as BCS, at the beginning of the epoch for past epochs, or the current state for the current epoch.

public Byte[]? SystemStateBcs { get; init; }

Property Value​

Byte[]

FirstCheckpoint​

The first checkpoint sequence number of the epoch.

public ulong? FirstCheckpoint { get; init; }

Property Value​

UInt64?

LastCheckpoint​

The last checkpoint sequence number of the epoch.

public ulong? LastCheckpoint { get; init; }

Property Value​

UInt64?

StartMs​

Unix timestamp in milliseconds of the beginning of the epoch.

public ulong? StartMs { get; init; }

Property Value​

UInt64?

EndMs​

Unix timestamp in milliseconds of the end of the epoch.

public ulong? EndMs { get; init; }

Property Value​

UInt64?

ReferenceGasPrice​

Reference gas price denominated in NANOS.

public ulong? ReferenceGasPrice { get; init; }

Property Value​

UInt64?

ProtocolConfig​

The protocol config of the epoch.

public GrpcProtocolConfig? ProtocolConfig { get; init; }

Property Value​

GrpcProtocolConfig

Constructors​

GrpcEpochInfo(UInt64?, ValidatorCommittee, Byte[], UInt64?, UInt64?, UInt64?, UInt64?, UInt64?, GrpcProtocolConfig)​

Information about an epoch.

public GrpcEpochInfo(ulong? Epoch, ValidatorCommittee? Committee, Byte[]? SystemStateBcs, ulong? FirstCheckpoint, ulong? LastCheckpoint, ulong? StartMs, ulong? EndMs, ulong? ReferenceGasPrice, GrpcProtocolConfig? ProtocolConfig)

Parameters​

Epoch UInt64?
The epoch id.

Committee ValidatorCommittee?
The committee governing the epoch.

SystemStateBcs Byte[]?
Snapshot of IOTA's SystemState as BCS, at the beginning of the epoch for past epochs, or the current state for the current epoch.

FirstCheckpoint UInt64?
The first checkpoint sequence number of the epoch.

LastCheckpoint UInt64?
The last checkpoint sequence number of the epoch.

StartMs UInt64?
Unix timestamp in milliseconds of the beginning of the epoch.

EndMs UInt64?
Unix timestamp in milliseconds of the end of the epoch.

ReferenceGasPrice UInt64?
Reference gas price denominated in NANOS.

ProtocolConfig GrpcProtocolConfig?
The protocol config of the epoch.

Methods​

Dispose()​

public void Dispose()