Functions
fetchSysvarSlotHistory
fetchSysvarSlotHistory(
rpc
,config?
):Promise
<SysvarSlotHistory
>
Fetches the SlotHistory
sysvar account using any RPC that supports the
GetAccountInfoApi.
Parameters
Parameter | Type |
---|---|
rpc | Rpc <GetAccountInfoApi > |
config? | FetchAccountConfig |