Preparing search index...
The search index is not available
Solana JavaScript SDK
Solana JavaScript SDK
@solana/rpc
GetSlotApi
Type Alias GetSlotApi
GetSlotApi
:
{
getSlot
(
config
?:
Readonly
<
{
commitment
?:
Commitment
;
minContextSlot
?:
Slot
}
>
,
)
:
bigint
;
}
Type declaration
getSlot
:
function
getSlot
(
config
?:
Readonly
<
{
commitment
?:
Commitment
;
minContextSlot
?:
Slot
}
>
,
)
:
bigint
Returns the slot that has reached the given or default commitment level
Parameters
Optional
config
:
Readonly
<
{
commitment
?:
Commitment
;
minContextSlot
?:
Slot
}
>
Returns
bigint
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Solana JavaScript SDK
Loading...
Returns the slot that has reached the given or default commitment level