I have got the api working and i can run commands like
access = AuthServiceProxy("http://root:[email protected]:8332")
access.getinfo()
However not sure how to use more complicated commands such as: move "fromaccount" "toaccount" amount ( minconf "comment" )
Tried something like this, but i get a syntax error in python.
name = "bob"
name2 = "sam"
balance = 0.0001
access.move(name name2 balance)
Doing it like this i get JSONRPCException:
name = "bob"
name2 = "sam"
balance = 0.0001
access.move('%s' '%s' '%s'), (name, name2, balance)
Any help appreciated.
bob
andsam
representaccounts
in your bitcoin-core wallet?acess.move(name, name2, balance)
, Sam and Bob should be bitcoin address.