getBlocksWithLimit abstract method
Returns a list of confirmed blocks starting at the given slot
startSlot
start_slot, as u64 integer
limit
limit, as u64 integer
commitment
For commitment
parameter description see this document
Commitment.processed is not supported as commitment
.
Implementation
Future<List<int>> getBlocksWithLimit(
int startSlot,
int limit, {
Commitment? commitment,
});