Gaza's Hamas rulers said Wednesday they had agreed to a cease-fire with Israel to end the largest flare-up of violence between the two sides since a 2014 war.
Khalil al-Hayya, a senior Hamas official, said Egyptian mediators intervened "after the resistance succeeded in warding off the aggression." He said militant groups in Gaza will commit to the cease-fire as long as Israel does.
Interior Minister Arieh Deri told Israel's Army Radio that he expected calm to be restored.
"If it will be quiet, we will respond with quiet. We've given Hamas a chance to prove that we can return to routine ... If they release the reins there will be a very painful strike," he said. "There is a good chance that the routine will be restored after the blow the army unleashed on them."
The Israeli military struck dozens of terror sites in Gaza overnight as rocket fire continued toward southern Israeli communities into early Wednesday morning, setting off air raid sirens in the area throughout the night.
The military said it hit drone storage facilities, military compounds, and rocket and munition workshops across the Gaza Strip. The overnight Hamas rocket fire reached the city of Netivot for the first time since the 2014 war. A home was struck, but no one was wounded.
Prime Minister Benjamin Netanyahu said Israel gave Palestinian terror groups in Gaza "the strongest blow dealt to them in years," and warned against renewed rocket fire.
"When they try us, they pay immediately. And if they continue to try us, they will pay a lot more," Netanyahu said at a ceremony in Tel Aviv.
But neither Israel nor the Palestinian factions in Gaza went full bore in their attacks, a sign that neither side was interested in escalating hostilities. Militants in Gaza did not fire long-range rockets at Israel's major cities, as they did in 2014, and Israeli airstrikes zeroed in on only unmanned military targets.
With neither side appearing interested in a full-blown conflict, a tense calm appeared to be holding Wednesday as Israeli children went to school in the morning.
The border area has been tense in recent weeks as Palestinians have held mass "March of Return" protests which they say are aimed at lifting an Israeli-Egyptian blockade imposed after Hamas seized power in 2007.
Israel and Hamas are bitter enemies and have fought three wars since the Islamic militant group seized control of Gaza in 2007.
A crippling Israeli-Egyptian blockade, imposed when Hamas took power, has meanwhile brought the local economy to a standstill.
After Gaza militants fired some 30 mortars shells early Tuesday, Israel responded fiercely, threatening to set off another round of confrontations.
The Israeli military said most of the projectiles fired Tuesday were intercepted, but three soldiers were wounded. One mortar shell landed in a kindergarten shortly before it opened, wounding one person.
Brig. Gen. Ronen Manelis, the chief military spokesman, threatened tougher action and said it was up to Hamas to prevent the situation from escalating.