getSlot RPC Method
Returns the slot that has reached the given or default commitment level.Parameters
object
optionalConfiguration object containing the following fields:commitment
string
optionalThe level of commitment desired when querying stateminContextSlot
number
optionalThe minimum slot that the request can be evaluated at
Result Details
<u64>
- Current slot- Represents the current blockchain slot at the specified commitment level
- A slot is a unit of time in the Solana blockchain where blocks are produced