getBlocksWithLimit method

Future<List<u64>> getBlocksWithLimit(
  1. u64 slot, {
  2. required u64 limit,
  3. GetBlocksWithLimitConfig? config,
})

Returns a list of limit confirmed blocks starting at the given slot.

Implementation

Future<List<u64>> getBlocksWithLimit(
  final u64 slot, {
  required final u64 limit,
  final GetBlocksWithLimitConfig? config,
}) async =>
    (await getBlocksWithLimitRaw(slot, limit: limit, config: config)).result!;