Bitcoin Forum
May 29, 2017, 07:52:38 AM *
News: Latest stable version of Bitcoin Core: 0.14.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin receiving address from command line?  (Read 3753 times)
kabads
Newbie
*
Offline Offline

Activity: 6


View Profile
July 04, 2011, 09:34:05 AM
 #1

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
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1496044358
Hero Member
*
Offline Offline

Posts: 1496044358

View Profile Personal Message (Offline)

Ignore
1496044358
Reply with quote  #2

1496044358
Report to moderator
Bth8
Newbie
*
Offline Offline

Activity: 17



View Profile
July 04, 2011, 10:05:55 AM
 #2

Pass it the account's label.

1QAaq6YbMbbNb6QrsjDvCNkUAgWpLhmqQq
PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x18B86F8EC85CFDBF)
davout
Legendary
*
Offline Offline

Activity: 1372


1davout


View Profile WWW
July 04, 2011, 10:09:07 AM
 #3

If you need the accounting feats then pass it an account label. Otherwise just use getnewaddress.

kabads
Newbie
*
Offline Offline

Activity: 6


View Profile
July 04, 2011, 11:08:54 AM
 #4

I'm not sure of the accounting lable - I've never assigned one - is there a way to make one?
davout
Legendary
*
Offline Offline

Activity: 1372


1davout


View Profile WWW
July 04, 2011, 11:47:01 AM
 #5

They're created automatically when you request an account-associated address.

deepceleron
Legendary
*
Offline Offline

Activity: 1484



View Profile WWW
July 04, 2011, 02:53:33 PM
 #6

For addresses that have received payments:

bitcoin listreceivedbyaddress

for a new address:

bitcoin getnewaddress

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!