<p>The default is to only return addresses that have already received coins, so use <code>bitcoind listreceivedbyaddress 0 true</code>.  The <code>true</code> indicates that you want to include "empty" addresses.</p>

<p>Source: <a href="https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list" rel="nofollow">https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list</a></p>

CC BY-SA 3.0
2013-11-18T13:45:33.443Z
2013-11-18T16:48:30.847Z
2013-11-18T16:48:30.847Z
RentFree
<p>I tried <code>bitcoind getnewaddress</code>, but <code>bitcoind listreceivedbyaddress</code> still returned empty list</p>

<p>How to create a new address for receiving payments?</p>

<address><api><payment>
listreceivedbyaddress returns empty list
Mark Ma
# listreceivedbyaddress returns empty list

(Asked by: username_0 on 2013-11-18)

I tried `bitcoind getnewaddress`, but `bitcoind listreceivedbyaddress` still returned empty list

How to create a new address for receiving payments?

**Tags:** address, api, payment


---

## 1 answers

### Answer by username_1 on 2013-11-18. Score: 0 | Accepted answer

The default is to only return addresses that have already received coins, so use `bitcoind listreceivedbyaddress 0 true`. The `true` indicates that you want to include "empty" addresses.

Source: <https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list>


---

