getSlot method
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!;
Returns the slot that has reached the given or default GetSlotConfig.commitment level.
Future<u64> getSlot({
final GetSlotConfig? config,
}) async =>
(await getSlotRaw(config: config)).result!;