pub async fn get_rewards_info_history(
    length: usize,
    context: ContextLock
) -> Result<impl Reply, Rejection>