getSysvarSlotHistoryDecoder

function getSysvarSlotHistoryDecoder(): FixedSizeDecoder<
    SysvarSlotHistory,
    number
>;

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

Returns

FixedSizeDecoder<SysvarSlotHistory, number>

On this page