Class EraEnd

A class that represents the end of an era with a unified structure.

Hierarchy

  • EraEnd

Constructors

Properties

equivocators: PublicKey[]

List of validators that have been found to equivocate during the era.

inactiveValidators: PublicKey[]

List of inactive validators during the era.

nextEraGasPrice: number

The gas price for the next era.

nextEraValidatorWeights: ValidatorWeightEraEnd[]

List of validator weights for the next era.

rewards: Map<string, CLValueUInt512[]>

A map of rewards for each validator, identified by their public key.

Methods

  • Converts an EraEndV1 instance to EraEnd.

    Returns

    A new EraEnd instance, or null if the EraEndV1 is null.

    Parameters

    • eraEnd: null | EraEndV1

      The EraEndV1 instance.

    Returns null | EraEnd

  • Converts an EraEndV2 instance to EraEnd.

    Returns

    A new EraEnd instance, or null if the EraEndV2 is null.

    Parameters

    • eraEnd: null | EraEndV2

      The EraEndV2 instance.

    Returns null | EraEnd

Generated using TypeDoc