getSysvarLastRestartSlotEncoder

function getSysvarLastRestartSlotEncoder(): FixedSizeEncoder<
    Readonly<{
        lastRestartSlot: bigint;
    }>,
    8
>;

Returns an encoder that you can use to encode a SysvarLastRestartSlot to a byte array representing the LastRestartSlot sysvar's account data.

Returns

FixedSizeEncoder<Readonly<{ lastRestartSlot: bigint; }>, 8>

On this page