pub async fn get_rewards_remaining(context: &Context) -> Result<Value, Error>