GetSlotLeaderApi
Methods
getSlotLeader()
Returns the current slot leader.
Parameters
| Parameter | Type |
|---|---|
config? | Readonly<{ commitment?: Commitment; minContextSlot?: Slot; }> |
Returns
GetSlotLeaderApiResponse
The address of the validator that has been granted the opportunity to create the block for the current slot.