Casper.Network.SDK
Show / Hide Table of Contents

Class GetRewardResult

Result for "info_get_reward" RPC response.

Inheritance
object
RpcResult
GetRewardResult
Inherited Members
RpcResult.ApiVersion
RpcResult.Load<T>(string)
RpcResult.Parse<T>(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Casper.Network.SDK.JsonRpc.ResultTypes
Assembly: Casper.Network.SDK.dll
Syntax
public class GetRewardResult : RpcResult

Properties

| Edit this page View Source

Amount

The reward amount.

Declaration
[JsonPropertyName("reward_amount")]
[JsonConverter(typeof(BigIntegerConverter))]
public BigInteger Amount { get; init; }
Property Value
Type Description
BigInteger
| Edit this page View Source

DelegationRate

The delegation rate of the validator.

Declaration
[JsonPropertyName("delegation_rate")]
public uint DelegationRate { get; init; }
Property Value
Type Description
uint
| Edit this page View Source

EraId

The era for which the reward was calculated.

Declaration
[JsonPropertyName("era_id")]
public ulong EraId { get; init; }
Property Value
Type Description
ulong
| Edit this page View Source

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
  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC