When making a JSON call, RPC to bitcoind, what is the "account" parameter in getNewAddress(account). What does 'account' mean? and where I am supposed to get it?
Does anyone have actual code to demo this? This is frustrating given how much time I have spent ( a day ),
trying to get this to work in code, trying different things, googling all over, following things to a dead end.
In my Bitcoin QT, I see no reference to "account", I don't know what to put there as a parameter.
Reference:
https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list#Full_listIf I leave it blank, or I make up something to put there, I get a socket timeout.
I can successfully call: getblockchaininfo, and a few others with no socket timeout, but not getNewAddress.
--
Also if anyone can help, I please need a clear concise exmple of sending a transaction. I can find no good code examples on how to create a raw transaction and send with any Python/RPC/Bitcoind library out there. None. It should not take more than a few lines of code to send a transaction.
1. set variables
2. make a call to send the transaction (that's it).
I would like to have the raw transaction printed out to debug, both raw transaction and the actual hex code that is sent.
Thank You,
JC