Functions
fetchEncodedSysvarAccount
fetchEncodedSysvarAccount<
TAddress
>(rpc
,address
,config?
):Promise
<MaybeEncodedAccount
<TAddress
>>
Fetch an encoded sysvar account.
Sysvars are special accounts that contain dynamically-updated data about the network cluster, the blockchain history, and the executing transaction.
Type Parameters
Type Parameter |
---|
TAddress extends SysvarAddress |
Parameters
Parameter | Type |
---|---|
rpc | Rpc <GetAccountInfoApi > |
address | TAddress |
config? | FetchAccountConfig |
Returns
Promise
<MaybeEncodedAccount
<TAddress
>>