getConfirmedBlocks abstract method
- @Deprecated('Use getBlocks instead')
- int startSlot,
- int? endSlot,
- Commitment? commitment
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
@Deprecated('Use getBlocks instead')
Future<List<int>> getConfirmedBlocks(
int startSlot,
int? endSlot,
Commitment? commitment,
);