/// <summary>
 /// Creates mosaicId from nonce
 /// </summary>
 /// <param name="nonce">The mosaic nonce</param>
 /// <param name="publicKeyHex">The public key in hex format</param>
 /// <returns></returns>
 public static MosaicId CreateFromNonce(MosaicNonce nonce, string publicKeyHex)
 {
     return new MosaicId(nonce, publicKeyHex);
 }
 private MosaicId(MosaicNonce nonce, string publicKeyHex)
 {
     Id = IdGenerator.GenerateMosaicId(BitConverter.ToUInt32(nonce.Nonce, 0), publicKeyHex);
     Nonce = nonce;
     OwnerPublicKeyHex = publicKeyHex;
 }