Iran fired "more than a dozen" ballistic missiles against two airbases in Iraq.

Iranian state television said on Wednesday that at least 80 "American terrorists" were killed in attacks involving 15 missiles Tehran launched on U.S. targets in Iraq, adding that none of the missiles were intercepted.

State TV, citing a senior Revolutionary Guards source, also said Iran had 100 other targets in the region in its sights if Washington took any retaliatory measures. It also said U.S. helicopters and military equipment were "severely damaged". It did not provide evidence of how it obtained that information.

Iran launched missile attacks on U.S.-led forces in Iraq in the early hours of Wednesday in retaliation for the U.S. drone strike on an Iranian commander whose killing has raised fears of a wider war in the Middle East.

Iranian state television said Iran had fired 15 missiles at U.S. targets in Iraq early on Wednesday. The U.S. military said at least two Iraqi facilities hosting U.S.-led coalition personnel were targeted at about 1:30 a.m. Iraq time (2230 GMT on Tuesday). Iraq said 22 missiles were fired.

Iranian officials said Tehran did not want a war and its strikes "concluded" its response to Friday's killing of Qassem Soleimani, a powerful general whose burial in Iran after days of mourning was completed around the same time as Iran's missile launches. Iranian state television showed mourners celebrating the attack.

U.S. President Donald Trump said in a tweet that an assessment of casualties and damage from the strikes was under way and that he would make a statement on Wednesday morning.

"All is well!" Trump, who visited one of the targeted sites in Iraq, Ain al-Asad air base, in December 2018, said on Twitter.

One source said early indications were of no U.S. casualties, while other U.S. officials declined to comment.

Germany, Denmark and Norway said none of their troops in Iraq were killed or injured. Iraq also said there were no casualties in its forces.

Iran, which has long said U.S. forces should leave the Middle East, told Washington after the attacks to withdraw its troops to prevent more deaths and warned U.S. allies including Israel not to allow attacks from their territories.

Iranian television reported an official in Supreme Leader Ali Khameni's office as saying the missile attacks were the "weakest" of several retaliation scenarios. It quoted another source saying Iran had lined up 100 other potential targets.

Iranian President Hassan Rouhani was due to speak later on Wednesday, state television reported.

Pentagon spokesman Jonathan Hoffman said the bases targeted were al-Asad air base and another facility in Erbil, Iraq.

"As we evaluate the situation and our response, we will take all necessary measures to protect and defend U.S. personnel, partners, and allies in the region," Hoffman said.

Hours earlier on Tuesday, U.S. Defense Secretary Mark Esper said the United States should anticipate a response from Iran for the killing of Soleimani, commander of Iran's elite Quds Force, a unit of the Revolutionary Guards.

"I think we should expect that they will retaliate in some way, shape or form," he told a briefing at the Pentagon.

Iranian Foreign Minister Mohammad Javad Zarif said Iran "took & concluded proportionate measures in self-defense under Article 51 of the U.N. Charter".

"We do not seek escalation or war, but will defend ourselves against any aggression," he wrote in a post on Twitter.

If the U.S. military was spared casualties and Iran takes no further measures to retaliate for Soleimani's killing, there might be an opportunity for Washington and Tehran to seek a way out to their increasingly violent confrontation.