Class GetRewardResult
Result for "info_get_reward" RPC response.
Inherited Members
Namespace: Casper.Network.SDK.JsonRpc.ResultTypes
Assembly: Casper.Network.SDK.dll
Syntax
public class GetRewardResult : RpcResult
Properties
| Edit this page View SourceAmount
The reward amount.
Declaration
[JsonPropertyName("reward_amount")]
[JsonConverter(typeof(BigIntegerConverter))]
public BigInteger Amount { get; init; }
Property Value
| Type | Description |
|---|---|
| BigInteger |
DelegationRate
The delegation rate of the validator.
Declaration
[JsonPropertyName("delegation_rate")]
public uint DelegationRate { get; init; }
Property Value
| Type | Description |
|---|---|
| uint |
EraId
The era for which the reward was calculated.
Declaration
[JsonPropertyName("era_id")]
public ulong EraId { get; init; }
Property Value
| Type | Description |
|---|---|
| ulong |
SwitchBlockHash
The switch block hash at which the reward was distributed.
Declaration
[JsonPropertyName("switch_block_hash")]
public string SwitchBlockHash { get; init; }
Property Value
| Type | Description |
|---|---|
| string |