did I … correctly
Hoffentlich habe ich das richtig verstanden.
Hopefully I understood that correctly.
Habe ich das richtig geschrieben?
Did I write that correctly?
Did I say that right?
Habe ich das richtig verstanden?
Have I understood that correctly?