Skip to main content

Epoch

@iota/grpc


@iota/grpc / Epoch

Type Alias: Epoch

Epoch = Message<"iota.grpc.v1.epoch.Epoch"> & object

Defined in: sdk/grpc/src/proto/iota/grpc/v1/epoch_pb.ts:165

Type Declaration​

bcsSystemState?​

optional bcsSystemState?: BcsData

Snapshot of IOTA's SystemState (0x3::iota_system::SystemState) at the beginning of the epoch, for past epochs, or the current state for the current epoch.

Generated​

from field: optional iota.grpc.v1.bcs.BcsData bcs_system_state = 3;

committee?​

optional committee?: ValidatorCommittee

The committee governing this epoch.

Generated​

from field: optional iota.grpc.v1.epoch.ValidatorCommittee committee = 2;

end?​

optional end?: Timestamp

Generated​

from field: optional google.protobuf.Timestamp end = 7;

epoch?​

optional epoch?: bigint

Generated​

from field: optional uint64 epoch = 1;

epochCloseProof?​

optional epochCloseProof?: EpochCloseProof

Proof of how this epoch closed: the certified closing checkpoint, the epoch-change transaction's effects and events, and the system-state objects it wrote for the next epoch's start state.

Absent until the epoch closes.

Generated​

from field: optional iota.grpc.v1.epoch.EpochCloseProof epoch_close_proof = 10;

firstCheckpoint?​

optional firstCheckpoint?: bigint

Generated​

from field: optional uint64 first_checkpoint = 4;

lastCheckpoint?​

optional lastCheckpoint?: bigint

Generated​

from field: optional uint64 last_checkpoint = 5;

protocolConfig?​

optional protocolConfig?: ProtocolConfig

Generated​

from field: optional iota.grpc.v1.epoch.ProtocolConfig protocol_config = 9;

referenceGasPrice?​

optional referenceGasPrice?: bigint

Reference gas price denominated in NANOS

Generated​

from field: optional uint64 reference_gas_price = 8;

start?​

optional start?: Timestamp

Generated​

from field: optional google.protobuf.Timestamp start = 6;

Generated​

from message iota.grpc.v1.epoch.Epoch