The yellow metal had stuck to a tight trading range through most of June, amid growing uncertainty over the path of U.S. interest rates. While some data showed the U.S. economy was cooling, Federal Reserve officials warned that sticky inflation was likely to delay any plans to cut interest rates.