Skip to main content

EndOfEpochData

@iota/iota-sdk


@iota/iota-sdk / client / EndOfEpochData

Interface: EndOfEpochData

Defined in: sdk/typescript/src/client/types/generated.ts:198

Properties​

epochCommitments​

epochCommitments: CheckpointCommitment[]

Defined in: sdk/typescript/src/client/types/generated.ts:200

Commitments to epoch specific state (e.g. live object set)


epochSupplyChange​

epochSupplyChange: number

Defined in: sdk/typescript/src/client/types/generated.ts:202

The number of tokens that were minted (if positive) or burnt (if negative) in this epoch.


nextEpochCommittee​

nextEpochCommittee: [string, string][]

Defined in: sdk/typescript/src/client/types/generated.ts:211

next_epoch_committee is Some if and only if the current checkpoint is the last checkpoint of an epoch. Therefore next_epoch_committee can be used to pick the last checkpoint of an epoch, which is often useful to get epoch level summary stats like total gas cost of an epoch, or the total number of transactions from genesis to the end of an epoch. The committee is stored as a vector of validator pub key and stake pairs. The vector should be sorted based on the Committee data structure.


nextEpochProtocolVersion​

nextEpochProtocolVersion: string

Defined in: sdk/typescript/src/client/types/generated.ts:216

The protocol version that is in effect during the epoch that starts immediately after this checkpoint.