Class EraEndV2
Information related to the end of an era, and validator weights for the following era.
Inherited Members
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class EraEndV2
Properties
| Edit this page View SourceEquivocators
The set of equivocators.
Declaration
[JsonPropertyName("equivocators")]
[JsonConverter(typeof(GenericListConverter<PublicKey, PublicKey.PublicKeyConverter>))]
public List<PublicKey> Equivocators { get; init; }
Property Value
| Type | Description |
|---|---|
| List<PublicKey> |
InactiveValidators
Validators that haven't produced any unit during the era.
Declaration
[JsonPropertyName("inactive_validators")]
[JsonConverter(typeof(GenericListConverter<PublicKey, PublicKey.PublicKeyConverter>))]
public List<PublicKey> InactiveValidators { get; init; }
Property Value
| Type | Description |
|---|---|
| List<PublicKey> |
NextEraGasPrice
Next Era gas price
Declaration
[JsonPropertyName("next_era_gas_price")]
public ushort NextEraGasPrice { get; init; }
Property Value
| Type | Description |
|---|---|
| ushort |
NextEraValidatorWeights
A list of validator weights for the next era
Declaration
[JsonPropertyName("next_era_validator_weights")]
[JsonConverter(typeof(GenericListConverter<ValidatorWeight, ValidatorWeight.ValidatorWeightConverter>))]
public List<ValidatorWeight> NextEraValidatorWeights { get; init; }
Property Value
| Type | Description |
|---|---|
| List<ValidatorWeight> |
Rewards
The rewards distributed to the validators.
Declaration
[JsonPropertyName("rewards")]
public Dictionary<string, List<string>> Rewards { get; init; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, List<string>> |