Skip to main content

GrpcEpochInfo

data class GrpcEpochInfo(var epoch: ULong?, var committee: ValidatorCommittee?, var systemStateBcs: ByteArray?, var firstCheckpoint: ULong?, var lastCheckpoint: ULong?, var startMs: ULong?, var endMs: ULong?, var referenceGasPrice: ULong?, var protocolConfig: GrpcProtocolConfig?) : Disposable

Information about an epoch.

Constructors​

GrpcEpochInfoconstructor(epoch: ULong?, committee: ValidatorCommittee?, systemStateBcs: ByteArray?, firstCheckpoint: ULong?, lastCheckpoint: ULong?, startMs: ULong?, endMs: ULong?, referenceGasPrice: ULong?, protocolConfig: GrpcProtocolConfig?)

Properties​

NameSummary
committeevar committee: ValidatorCommittee?
The committee governing the epoch.
endMsvar endMs: ULong?
Unix timestamp in milliseconds of the end of the epoch.
epochvar epoch: ULong?
The epoch id.
firstCheckpointvar firstCheckpoint: ULong?
The first checkpoint sequence number of the epoch.
lastCheckpointvar lastCheckpoint: ULong?
The last checkpoint sequence number of the epoch.
protocolConfigvar protocolConfig: GrpcProtocolConfig?
The protocol config of the epoch.
referenceGasPricevar referenceGasPrice: ULong?
Reference gas price denominated in NANOS.
startMsvar startMs: ULong?
Unix timestamp in milliseconds of the beginning of the epoch.
systemStateBcsvar systemStateBcs: ByteArray?
Snapshot of IOTA's SystemState as BCS, at the beginning of the epoch for past epochs, or the current state for the current epoch.

Functions​

NameSummary
destroyopen override fun destroy()