pub async fn get_rewards_info_history(
    context: &Context,
    length: usize
) -> Result<Vec<EpochRewardsInfo>, Error>