Bitcoin Forum
May 13, 2024, 06:17:49 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin receiving address from command line?  (Read 4606 times)
kabads (OP)
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
1715624269
Hero Member
*
Offline Offline

Posts: 1715624269

View Profile Personal Message (Offline)

Ignore
1715624269
Reply with quote  #2

1715624269
Report to moderator
1715624269
Hero Member
*
Offline Offline

Posts: 1715624269

View Profile Personal Message (Offline)

Ignore
1715624269
Reply with quote  #2

1715624269
Report to moderator
1715624269
Hero Member
*
Offline Offline

Posts: 1715624269

View Profile Personal Message (Offline)

Ignore
1715624269
Reply with quote  #2

1715624269
Report to moderator
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715624269
Hero Member
*
Offline Offline

Posts: 1715624269

View Profile Personal Message (Offline)

Ignore
1715624269
Reply with quote  #2

1715624269
Report to moderator
1715624269
Hero Member
*
Offline Offline

Posts: 1715624269

View Profile Personal Message (Offline)

Ignore
1715624269
Reply with quote  #2

1715624269
Report to moderator
1715624269
Hero Member
*
Offline Offline

Posts: 1715624269

View Profile Personal Message (Offline)

Ignore
1715624269
Reply with quote  #2

1715624269
Report to moderator
Bth8
Newbie
*
Offline Offline

Activity: 21
Merit: 0


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

Pass it the account's label.
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


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 (OP)
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: 1007


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: 1032



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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!