0

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

How to create a new address for receiving payments?

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.