How to list addresses in your wallet?

I created a new transparent address by using getnewaddress, yet when I use listreceivedbyaddress 0 it spits out:

[
]

How do I get it list all of the addresses in my wallet?

Figured it out on my own. For those looking to list their addresses, you need to add true after 0.

So it would be: listreceivedbyaddress 0 true

2 Likes