getDetailedMomentumsByHeight method

Future<DetailedMomentumList> getDetailedMomentumsByHeight(
  1. int height,
  2. int count
)

Implementation

Future<DetailedMomentumList> getDetailedMomentumsByHeight(
    int height, int count) async {
  height = height < 1 ? 1 : height;
  count = count > rpcMaxPageSize ? rpcMaxPageSize : count;
  var response = await client
      .sendRequest('ledger.getDetailedMomentumsByHeight', [height, count]);
  return DetailedMomentumList.fromJson(response);
}