Bitcoin Forum
May 23, 2018, 12:05:57 PM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin receiving address from command line?  (Read 4416 times)
kabads
Newbie
*
Offline Offline

Activity: 6
Merit: 0


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
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1527077157
Hero Member
*
Offline Offline

Posts: 1527077157

View Profile Personal Message (Offline)

Ignore
1527077157
Reply with quote  #2

1527077157
Report to moderator
Bth8
Jr. Member
*
Offline Offline

Activity: 30
Merit: 0



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
Merit: 1002


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
Merit: 0


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
Merit: 1002


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: 1512
Merit: 1000



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!