getSysvarSlotHistoryEncoder

function getSysvarSlotHistoryEncoder(): FixedSizeEncoder<
    SysvarSlotHistory,
    number
>;

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

Returns

FixedSizeEncoder<SysvarSlotHistory, number>

On this page