GetSlotApi

type GetSlotApi = object;

Methods

getSlot()

getSlot(config?): bigint;

Returns the slot that has reached the given or default commitment level.

Parameters

ParameterType
config?Readonly<{ commitment?: Commitment; minContextSlot?: Slot; }>

Returns

bigint

See

https://solana.com/docs/rpc/http/getslot

On this page