queryAccountRewards method

Future<Map?> queryAccountRewards(
  1. String address,
  2. int eras
)

Implementation

Future<Map?> queryAccountRewards(String address, int eras) async {
  final Map? res = await service.fetchAccountRewards(address, eras);
  return res;
}