Bring the 3 L / 3 quarts of water and 2 tsp kosher salt to a boil in a 4-quart / 3.8 L pot. Snap the stem ends off the beans but keep the thin tails. Boil the beans for 4 minutes until bright green and tender-crisp, then drain and rinse under cold running water for 1 minute.
Spread the beans on clean kitchen towels and pat them dry, then leave them to air-dry for 5 minutes. The surface has to be dry, or the batter slides off in the hot oil and leaves bare patches. Gather the beans into bundles of 3 with the cut ends together and the tails fanned, for about 25 to 30 bundles.
Whisk the flour, baking powder, and 1/2 tsp fine salt in a 2-quart / 1.9 L bowl. Add the egg and the 130 ml / 1/2 cup plus 1 tbsp cold water and whisk until smooth, with a texture like thick pancake batter that coats the back of a spoon. Heat the oven to 95 C / 200 F and set a wire rack over a 33 x 46 cm / 13 x 18 inch sheet pan.
Pour the sunflower oil into a 26 cm / 10-inch deep skillet, which gives a depth of about 2 cm / 3/4 inch. Heat it to 180 C / 350 F on a thermometer, about 6 to 8 minutes.
Pinch one bundle at the cut ends, dip it in the batter, and let the excess drip for 2 seconds. Lower it into the oil away from you. Fry 8 bundles at a time for 3 minutes, turning once, until deep golden and crisp.
Lift the bundles onto the rack with a spider, sprinkle with flaky salt while still glossy, and keep them in the oven. Let the oil return to 180 C / 350 F, skim out loose batter bits, and fry the remaining batches the same way. Serve within 15 minutes with lemon wedges.