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