getSysvarLastRestartSlotDecoder

function getSysvarLastRestartSlotDecoder(): FixedSizeDecoder<
    Readonly<{
        lastRestartSlot: bigint;
    }>,
    8
>;

Returns a decoder that you can use to decode a byte array representing the LastRestartSlot sysvar's account data to a SysvarLastRestartSlot.

Returns

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

On this page