LONDON, Aug 2 (Reuters) - The yen was on track for its biggest run of gains since the depths of the coronavirus crisis in March 2020, as rising U.S.-China tensions over Taiwan and deepening worries about a global economic slowdown boosted the appeal of safe-haven assets.

The U.S. dollar struggled broadly, extending a tough few trading sessions since the Federal Reserve raised interest rates last week amid signs that the U.S. economy is cooling, with policymakers hinting at a slower pace of rate hikes in future.

Against the dollar, the Japanese currency was on track for a fifth consecutive session of gains on Tuesday, taking its cumulative increase to nearly 4.5% in five trading sessions.

In London trading, the currency was up 0.6% at 130.78 yen, just below a high of 130.40 yen, a level last seen in early June.

"With the yen already enjoying a mini revival on the back of narrowing yield spreads with Japanese government bonds, it is the clear winner from today’s risk-off episode, while the dollar is barely ticking higher against a basket of currencies," said Raffi Boyadijian, investment analyst at XM.

Jitters about the impact of an impending visit to Taiwan by U.S. House of Representatives Speaker Nancy Pelosi weighed on stocks and sent investors scurrying into U.S. Treasuries.

U.S. DATA

The benchmark 10-year Treasury yield fell to 2.516%, its lowest since April, further narrowing the gap between ten-year U.S. debt and equivalent Japanese bonds to 236 basis points (bps), the lowest since early April.

The U.S. economy shrank for a second straight quarter, data released last week showed, intensifying a debate over whether the country is, or will soon be, in recession, with traders keenly watching for U.S. jobs data on Friday.

"U.S. data releases and the reaction in U.S. yields through the end of this week will be critical as JPY momentum has built a considerable head of steam here," said John Hardy, head of FX strategy at Saxo Bank.

Interest rate markets implied by Fed fund futures show U.S. interest rates are set to peak in February 2023 at around 3.25%. That compares with a peak rate pricing of more than 4% in mid 2023 in early June, according to Refinitiv data.

The Australian dollar fell nearly 1.5% after the Reserve Bank of Australia raised rates by 50 bps to 1.85%, in line with expectations.

The bank said that even though more tightening was expected, it was not on a pre-set path, which some investors interpreted as meaning future policy tightening may not be as aggressive.

China's offshore yuan touched 6.7957 per dollar, its weakest since mid-May. Some analysts attributed this partly to tensions around Pelosi's visit, as well as poor economic data from China over the weekend.

The dollar index, which measures the greenback against six peers, rose 0.3% to 105.65.

(Reporting by Saikat Chatterjee; Editing by Mark Potter and David Holmes)