Functions
fetchSysvarRent
fetchSysvarRent(
rpc
,config?
):Promise
<Readonly
<{burnPercent
:number
;exemptionThreshold
:number
;lamportsPerByteYear
:Lamports
; }>>
Fetches the Rent
sysvar account using any RPC that supports the GetAccountInfoApi.
Parameters
Parameter | Type |
---|---|
rpc | Rpc <GetAccountInfoApi > |
config? | FetchAccountConfig |
Returns
Promise
<Readonly
<{ burnPercent
: number
; exemptionThreshold
: number
; lamportsPerByteYear
: Lamports
; }>>