getConfirmedBlocksWithLimit abstract method

  1. @Deprecated('Use getBlocksWithLimit instead')
Future<List<int>> getConfirmedBlocksWithLimit(
  1. int startSlot,
  2. int limit,
  3. Commitment? commitment
)

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

@Deprecated('Use getBlocksWithLimit instead')
Future<List<int>> getConfirmedBlocksWithLimit(
  int startSlot,
  int limit,
  Commitment? commitment,
);