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