Casper.Network.SDK
Show / Hide Table of Contents

Class GetValidatorReward

Inheritance
object
RpcMethod
GetValidatorReward
Inherited Members
RpcMethod.JsonRpc
RpcMethod.Id
RpcMethod.Method
RpcMethod.Parameters
RpcMethod.SerializerOptions
RpcMethod.Serialize()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Casper.Network.SDK.JsonRpc
Assembly: Casper.Network.SDK.dll
Syntax
public class GetValidatorReward : RpcMethod

Constructors

| Edit this page View Source

GetValidatorReward(PublicKey, IBlockIdentifier)

Returns the reward for a given era and a validator

Declaration
public GetValidatorReward(PublicKey validator, IBlockIdentifier blockIdentifier = null)
Parameters
Type Name Description
PublicKey validator

The public key of the validator.

IBlockIdentifier blockIdentifier

The identifier for the state used for the query, if none is passed, the latest block will be used.

| Edit this page View Source

GetValidatorReward(PublicKey, ulong)

Returns the reward for a given era and a validator

Declaration
public GetValidatorReward(PublicKey validator, ulong eraId)
Parameters
Type Name Description
PublicKey validator

The public key of the validator.

ulong eraId

Id of the Era to retrieve the rewards from.

  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC