Title: Bitcoin receiving address from command line? Post by: kabads on July 04, 2011, 09:34:05 AM 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 <account>\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 Title: Re: Bitcoin receiving address from command line? Post by: Bth8 on July 04, 2011, 10:05:55 AM Pass it the account's label.
Title: Re: Bitcoin receiving address from command line? Post by: davout on July 04, 2011, 10:09:07 AM If you need the accounting feats then pass it an account label. Otherwise just use getnewaddress.
Title: Re: Bitcoin receiving address from command line? Post by: kabads on July 04, 2011, 11:08:54 AM I'm not sure of the accounting lable - I've never assigned one - is there a way to make one?
Title: Re: Bitcoin receiving address from command line? Post by: davout on July 04, 2011, 11:47:01 AM They're created automatically when you request an account-associated address.
Title: Re: Bitcoin receiving address from command line? Post by: deepceleron on July 04, 2011, 02:53:33 PM For addresses that have received payments:
bitcoin listreceivedbyaddress for a new address: bitcoin getnewaddress |