getSysvarStakeHistoryDecoder

function getSysvarStakeHistoryDecoder(): VariableSizeDecoder<SysvarStakeHistory>;

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

Returns

VariableSizeDecoder<SysvarStakeHistory>

On this page