UPDATE
Fixed the library problem. Two things where happening:
1- The rpc-api-call was calling the wrong port. Multichain uses 2 ports; "default-network-port" : 7343 and "default-rpc-port" : 7342. We were calling the network and not the rpc port.
2-Bitcoinrpc's issue #62 (
https://github.com/jgarzik/python-bitcoinrpc/issues/62). The call using AuthServiceProxy was returning None because the library is not up-to-date on pip and #62's fix was commited and merged to github but not pushed to the pip repo.
Calls work now! I fixed it by uninstalling pip's package and installing it from github
sudo pip install -e git+
https://github.com/jgarzik/python-bitcoinrpc.git#egg=hyde
>>> service_url = 'http://%s:%s@%s:%s'%(rpcUser,rpcPassword,rpcHost,rpcPort)
>>> rpc = AuthServiceProxy(service_url)
>>> rpc.getinfo()
{u'connections': 1, u'setupblocks': 60, u'errors': u'', u'protocol': u'multichain', u'description': u'MultiChain chain1', u'paytxfee': Decimal('0E-8'), u'keypoololdest': 12323234, u'keypoolsize': 5, u'relayfee': Decimal('0E-8'), u'nodeaddress': u'swisschain@rpcHost:rpcPort', u'walletversion': 60000, u'difficulty': Decimal('0.00008774'), u'testnet': False, u'version': u'1.0 alpha 15', u'proxy': u'', u'protocolversion': 10003, u'timeoffset': 0, u'blocks': 44020, u'balance': Decimal('0.00650000'), u'port': 7343, u'chainname': u'chain1'}