<p>There's command specific help with <code>electrum help &lt;commandname&gt;</code>. If you run that for listaddresses you will see that the --receiving switch does what you want. So <code>electrum listaddresses --receiving</code>.</p>

CC BY-SA 4.0
2019-03-07T21:54:21.140Z
2019-03-07T21:54:21.140Z
Abdussamad
<p>i use the command </p>

<blockquote>
  <p>electrum listaddresses -w .electrum/testnet/wallets....</p>
</blockquote>

<p>On a bash console to get all addresses of the wallet.
This however also return the "change" addresses which i cannot actually use on my project.
Is there anyway to filter those addresses on bash or i need to open the wallet file and read it?</p>

<wallet><electrum><bash>
electrum wallet listaddress without change addresses
Nick Andriopoulos
# electrum wallet listaddress without change addresses

(Asked by: username_0 on 2019-03-07)

i use the command

> electrum listaddresses -w .electrum/testnet/wallets....

On a bash console to get all addresses of the wallet.
This however also return the "change" addresses which i cannot actually use on my project.
Is there anyway to filter those addresses on bash or i need to open the wallet file and read it?

**Tags:** wallet, electrum, bash


---

## 1 answers

### Answer by username_1 on 2019-03-07. Score: 1 | Accepted answer

There's command specific help with `electrum help` . If you run that for listaddresses you will see that the --receiving switch does what you want. So `electrum listaddresses --receiving`.


---

