Functions
fetchSysvarLastRestartSlot
fetchSysvarLastRestartSlot(
rpc
,config?
):Promise
<Readonly
<{lastRestartSlot
:bigint
; }>>
Fetches the LastRestartSlot
sysvar account using any RPC that supports the
GetAccountInfoApi.
Parameters
Parameter | Type |
---|---|
rpc | Rpc <GetAccountInfoApi > |
config? | FetchAccountConfig |