# Gavin Andresen # 2010-06-26 23:54:27 # https://bitcointalk.org/index.php?topic=218.msg1822#msg1822 @s{quotedtext} @s{quotedtext} You can talk to the running bitcoind either by: @p{brk} 1. sending JSON-RPC calls; see @s{(link)} for more details. @p{brk} 2. re-running bitcoind and giving it extra arguments; it will figure out that there's already a bitcoind running and will pass along the commands. @p{par} For example, running "bitcoind help" gives you the list of commands it understands: @p{brk} Code: bitcoind help @p{brk} getaddressesbylabel @p{lt}label@s{gt} @p{brk} listreceivedbyaddress [minconf=1] [includeempty=false] @p{brk} getreceivedbyaddress @p{lt}bitcoinaddress@s{gt} [minconf=1] @p{brk} getbalance @p{brk} getblockcount @p{brk} getblocknumber @p{brk} getconnectioncount @p{brk} getdifficulty @p{brk} getgenerate @p{brk} getinfo @p{brk} getlabel @p{lt}bitcoinaddress@s{gt} @p{brk} getnewaddress [label] @p{brk} getreceivedbyaddress @p{lt}bitcoinaddress@s{gt} [minconf=1] @p{brk} getreceivedbylabel @p{lt}label@s{gt} [minconf=1] @p{brk} help @p{brk} listreceivedbyaddress [minconf=1] [includeempty=false] @p{brk} listreceivedbylabel [minconf=1] [includeempty=false] @p{brk} listtransactions [count=10] [includegenerated=false] @p{brk} sendtoaddress @p{lt}bitcoinaddress@s{gt} @p{lt}amount@s{gt} [comment] [comment-to] @p{brk} setgenerate @p{lt}generate@s{gt} [genproclimit] @p{brk} setlabel @p{lt}bitcoinaddress@s{gt} @p{lt}label@s{gt} @p{brk} stop @p{brk} @p{brk} To figure out what your bitcoin address is, run: @p{brk} @p{(so}bitcoind getaddressesbylabel ""@p{so)} @p{brk} @p{(so}(your default address has the empty string as its label).@p{so)} @p{brk} Code: bitcoind getaddressesbylabel "Your Address" To figure out how many coins you have, run: @p{brk} Code: bitcoind getbalance or @p{brk} Code: bitcoind getinfo @p{brk} Regarding running headless: the non-daemon bitcoin will run via remote (e.g. ssh forwarded) X-windows, if you install the necessary X11-client stuff on your server. @p{brk}