user119059: What command generates BTC legacy address in electrum?
here is a sample command:
createnewaddress()

user-1: Command to create new address is same as you mentioned in the question:
createnewaddress()

You can only create P2PKH (legacy) addresses in a wallet with 'standard' seed:
Command to create a standard seed:
make_seed(seed_type="standard")

'standard' can be replaced by 'segwit' for a wallet with bech32 addresses
Create new wallet with the seed returned from above command:
File -> New -> Standard Wallet -> I already have a seed

119059: <p>What command generates BTC legacy address in electrum?</p>
<p>here is a sample command:</p>
<p>createnewaddress()</p>
 -1: <p>Command to create new address is same as you mentioned in the question:</p>
<pre><code>createnewaddress()
</code></pre>
<p>You can only create <code>P2PKH</code> (legacy) addresses in a wallet with 'standard' seed:</p>
<p>Command to create a standard seed:</p>
<pre><code>make_seed(seed_type=&quot;standard&quot;)
</code></pre>
<p><sup><em>'standard' can be replaced by 'segwit' for a wallet with bech32 addresses</em></sup></p>
<p>Create new wallet with the seed returned from above command:</p>
<p>File -&gt; New -&gt; Standard Wallet -&gt; I already have a seed</p>
