getBlocks abstract method
Returns a list of confirmed blocks between two slots
startSlot start_slot, as u64 integer
endSlot end_slot, as u64 integer
commitment For commitment parameter description see this document
Commitment.processed is not supported as commitment.
Implementation
Future<List<int>> getBlocks(
int startSlot,
int? endSlot, {
Commitment? commitment,
});