Functions
fetchJsonParsedSysvarAccount
fetchJsonParsedSysvarAccount<
TAddress
>(rpc
,address
,config?
):Promise
<{address
:Address
<TAddress
>;exists
:false
; } |BaseAccount
&object
&object
|BaseAccount
&object
&object
>
Fetch a JSON-parsed 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
<{ address
: Address
<TAddress
>; exists
: false
; } | BaseAccount
& object
& object
| BaseAccount
& object
& object
>