getSlot RPC Method
Returns the slot that has reached the given or default commitment level
Parameters
object
optional
Configuration object containing the following fields:
commitment string
optional
minContextSlot number
optional
The minimum slot that the request can be evaluated at
Result
<u64>
- Current slot