fetchSysvarRent

function fetchSysvarRent(
    rpc,
    config?,
): Promise<
    Readonly<{
        burnPercent: number;
        exemptionThreshold: number;
        lamportsPerByteYear: Lamports;
    }>
>;

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

Parameters

ParameterType
rpcRpc<GetAccountInfoApi>
config?FetchAccountConfig

Returns

Promise<Readonly<{ burnPercent: number; exemptionThreshold: number; lamportsPerByteYear: Lamports; }>>

On this page