Casper.Network.SDK
Show / Hide Table of Contents

Class GetDelegatorReward

Inheritance
object
RpcMethod
GetDelegatorReward
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 GetDelegatorReward : RpcMethod

Constructors

| Edit this page View Source

GetDelegatorReward(PublicKey, PublicKey, IBlockIdentifier)

Returns the reward for a given era and a delegator

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

The public key of the validator.

PublicKey delegator

The public key of the delegator.

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

GetDelegatorReward(PublicKey, PublicKey, ulong)

Returns the reward for a given era and a delegator

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

The public key of the validator.

PublicKey delegator

The public key of the delegator.

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