Gold prices held steady on Wednesday as investors stayed on the ‌sidelines, assessing the economic impact of the Middle East conflict ahead of the U.S. Federal Reserve's policy decision.

Spot ​gold edged up 0.1% at $5,008.58 per ounce as of 0629 GMT. U.S. gold futures for April ​delivery rose ​0.1% to $5,012.60.

Gold's trajectory "will largely depend on the Fed's forward-looking guidance ... Will the Fed still be looking for one interest rate cut (this year) or will they start to ⁠actually pencil in no cut at all due to this very fluid situation in the Middle East," said Kelvin Wong, a senior market analyst at OANDA. The Fed is widely expected to hold rates steady for a second consecutive meeting later in the day.

Meanwhile, central ​banks in the ‌UK, the euro ⁠zone, Japan, Canada, Switzerland, ⁠and Sweden meet this week in their first decisions since the start of the Iran war.

Oil ​prices stayed above $100 a barrel, as Iranian attacks on the ‌UAE deepened fears over the global supply outlook.

"We ⁠may see these oil prices coming down gently, but with that geopolitical risk premium still intact, then that could see some bargain hunting for gold," said Wong.

The Strait of Hormuz, a conduit for a fifth of the world's oil shipments, remains largely shut, with Iran threatening to attack tankers linked to the U.S. and Israel.

The Strait's closure kept crude elevated, adding to inflationary pressures by pushing up transport and manufacturing costs. The inflation backdrop supports gold as a hedge, but high interest rates dull the ‌metal's appeal by boosting returns on yield-bearing assets. Israel's killing of Ali ⁠Larijani, Iran's security chief and the most senior figure targeted ​since the first day of the U.S.-Israeli war, has further escalated tensions. A senior Iranian official said the country's new supreme leader had rejected de-escalation proposals passed on by intermediary nations.

Spot silver ​rose 0.8% to $79.90 ‌per ounce. Spot platinum was down 0.4% at $2,115.34, and palladium lost 0.2% ⁠to $1,598.31.