Author

Topic: Bitcoin receiving address from command line? (Read 4624 times)

legendary
Activity: 1512
Merit: 1036
For addresses that have received payments:

bitcoin listreceivedbyaddress

for a new address:

bitcoin getnewaddress
legendary
Activity: 1372
Merit: 1008
1davout
They're created automatically when you request an account-associated address.
newbie
Activity: 6
Merit: 0
I'm not sure of the accounting lable - I've never assigned one - is there a way to make one?
legendary
Activity: 1372
Merit: 1008
1davout
If you need the accounting feats then pass it an account label. Otherwise just use getnewaddress.
newbie
Activity: 21
Merit: 0
Pass it the account's label.
newbie
Activity: 6
Merit: 0
I have a headless remote box which is running bitcoin. I'm running the server - is there a command line I can use to find out the receiving address?

I've tried:

adam@XXXXX:~/.bitcoin/bitcoin-0.3.23/bin/64$ ./bitcoind getaccountaddress
error: {"code":-1,"message":"getaccountaddress \nReturns the current bitcoin address for receiving payments to this account."}

but there it seems like it wants an address. I'm not sure what else to give it.


Thanks in advance.

Adam
Jump to: