What is the indirect speech form of: She said to me, What is your name?

What is the indirect speech form of: She said to me, What is your name?

Explanation

She asked me what my name was.


In indirect speech, the word "is" changes to "was" to reflect the past tense and the question is rephrased as a statement