getInflationReward method

Future<List<InflationReward?>> getInflationReward(
  1. Iterable<Pubkey> addresses, {
  2. GetInflationRewardConfig? config,
})

Returns the inflation / staking reward for a list of addresses for an epoch.

Implementation

Future<List<InflationReward?>> getInflationReward(
  final Iterable<Pubkey> addresses, {
  final GetInflationRewardConfig? config,
}) async =>
    (await getInflationRewardRaw(addresses, config: config)).result!;