fetchSysvarSlotHashes

function fetchSysvarSlotHashes(rpc, config?): Promise<SysvarSlotHashes>;

Fetches the SlotHashes sysvar account using any RPC that supports the GetAccountInfoApi.

Parameters

ParameterType
rpcRpc<GetAccountInfoApi>
config?FetchAccountConfig

Returns

Promise<SysvarSlotHashes>

On this page