View difference between Paste ID: fR6wbcmD and sGUJ6sFX
SHOW: | | - or go back to the newest paste.
1
from jsonrpc import ServiceProxy
2
3-
  access = ServiceProxy("http://user:pass:8332")
3+
access = ServiceProxy("http://user:pass:8332")
4-
  access.getinfo()
4+
access.getinfo()
5-
  access.listreceivedbyaddress(6)
5+
access.listreceivedbyaddress(6)
6-
  print access.getbalance()
6+
print access.getbalance()