J.F.
My daughter has growing pains as well. She wakes up in the middle of the night and I massage her legs. She says it helps and she goes right back to sleep. Potassium seems to help a lot. We have her eat one banana or kiwi every day (kiwi has a lot of potassium in it too, and she likes them when she gets tired of bananas). This seems to have helped quite a bit. She doesn't wake up nearly as often from the pain. We've noticed that if she doesn't eat a banana or kiwi on any given day she's much more likely to have pains and wake up in the middle of the night.
I did take her to the doctor and did the research online. The growing pains are real and it's just something she'll have to grow out of.
This too shall pass.