How to create a signed transaction offline using electrum?
Enter output address, amount and click on pay:

Decide the fee rate and click on finalize:

You can export the transaction hex from bottom-left before or after signing the transaction:

Make sure &quot;Advanced Preview&quot; is active in the preferences: