//Create an unsigned transaction
AccountCreateTransaction transaction = new AccountCreateTransaction()
.setKeyWithAlias(ecdsaPublicKey)
// DO NOT set an alias with your key if you plan to update/rotate keys in the future, Use .setKeyWithoutAlias instead
// .setKeyWithoutAlias(ecdsaPublicKey)
.setInitialBalance(new Hbar(1));
//Freeze the transaction for signing
//The transaction cannot be modified after this point
AccountCreateTransaction freezeTransaction = transaction.freezeWith(client);
System.out.println(freezeTransaction);
//v2.0.0