A prosthetic cardiac valve (620) includes a frame (630) and a plurality of prosthetic leaflets (32) coupled to the frame (630) so as to allow
blood flow in one direction. An antenna (28) is mechanically coupled to the frame (630) proximal of the prosthetic leaflets, and includes one or more prosthetic-valve coils (36). First and second proximal peaks (204 A, 204B) respectively defined by circumferentially adjacent first and second proximal- most
stent cells (206A, 206B) of interconnected
stent cells (192) of the frame (630) are located at respective first and second peak angular locations (208 A, 208B) about a central longitudinal axis (60) of the frame (630). The antenna (28) is mechanically coupled to the frame (630) such that a
centroid (212) of the antenna (28) is at an antenna angular location (214) between the first and the second peak angular locations (208A, 208B), and a proximal-most point (216) of the antenna (28) is axially disposed between 5 mm proximal of and 5 mm distal of the first and the second proximal peaks (204 A, 204B). Other embodiments are also described.