The fatigue could be a result of your lack of sleep,
vitamin deficiency, micronutrient deficiency or stress.
Get your labs done for all your vitamins especially
vitamin D and
B12 it may reveal the cause of ur leg cramps
As far as your sleep and fatigue is concerned rule out the organics causes with the tests.Maybe you could talk to someone if you are facing any kind of stress