Post
Topic
Board Bitcoin Technical Support
Topic OP
python-bitcoinrpc (jgarzik) problem calling gettransaction()
by
kangarooz
on 24/05/2014, 17:38:19 UTC
Dear guys;

I use this code:

Code:
from bitcoinrpc.authproxy import *

access = AuthServiceProxy("PRIVATEDETAILS")

print access.getbalance()
txid = 'aedf77851ee49a85857126b9003f8058c355c7e30e51a8ef5c74042a73ab247f'
printa = access.gettransaction(txid)

It doens't work.
Python gaves me this error:
Quote
   raise JSONRPCException(response['error'])
bitcoinrpc.authproxy.JSONRPCException

The call of function access.getbalance() works fine.
Any idea how to fix this?

Kind regards;