Is there any way to get the stake history for a validator on Solana. I am trying to analyze the performance of validators on the network and am able to use the
getInflationReward method retrospectively to get the rewards a validator received in a certain epoch.
However,in order to understand what was the APR I need to know the stake of the validator in that epoch. is there any method that can retrieve this for a past epoch ?