Energy determination of trans-EeV cosmic rays