getSlot method

Future<u64> getSlot({
  1. GetSlotConfig? config,
})
inherited

Returns the slot that has reached the given or default GetSlotConfig.commitment level.

Implementation

Future<u64> getSlot({
  final GetSlotConfig? config,
}) async => (await getSlotRaw(config: config)).result!;