I don’t have restlegs exactly but I do take Magnesium citrate 2-3 capsules per day or I get mild to severe muscle twitches during the day and night calf cramps, I also tend to kick out and twitch when I initially fall asleep and wake myself up. Mg citrate is the only supplement I have ever taken that has made a huge difference (to anything).
I’m now also on a muscle relaxant at night for a chronic neck problem so I don’t have a problem with sleeping these days and recovery is much improved