getBlocksWithLimit method
Future<List<u64> >
getBlocksWithLimit(
- u64 slot, {
- required u64 limit,
- 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!;