getConfirmedBlocks abstract method

  1. @Deprecated('Use getBlocks instead')
Future<List<int>> getConfirmedBlocks(
  1. int startSlot,
  2. int? endSlot,
  3. 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,
);