Class GetRewardResult


  • public class GetRewardResult
    extends RpcResult
    Result for "info_get_reward" RPC request.
    • Constructor Detail

      • GetRewardResult

        public GetRewardResult​(java.math.BigInteger rewardAmount,
                               long eraId,
                               long delegation_rate,
                               BlockHashIdentifier switch_block_hash)
      • GetRewardResult

        public GetRewardResult()
    • Method Detail

      • getRewardAmount

        public java.math.BigInteger getRewardAmount()
        The total reward amount in the requested era.
      • getEraId

        public long getEraId()
        The era for which the reward was calculated.
      • getDelegation_rate

        public long getDelegation_rate()
        The delegation rate of the validator.
      • getSwitch_block_hash

        public BlockHashIdentifier getSwitch_block_hash()
        The switch block hash at which the reward was distributed.