1
I was expecting that, in the case when getFromAddress() returns an address, transactioninput.getConnectedOutput().getAddressFromP2SH(networkparameter)) should return the same address. But, sometimes transactioninput.getConnectedOutput() returns a null value, despite getFromAddress() returning a proper address. What is the reason?
If these two methods are different, how could I return the value of field "addr" of the object "prev_out" of the items in the array "input" in the JSON object returned without the use of blockchain.info-api? (for example, for this https://blockchain.info/address/1LoD9DeUeCfnZueSVPzFaFkfFcx8mG1Add?format=json).
I have tried with input.getOutpoint().getConnectedOutput() , which does not make a difference. – Aqqqq – 2017-02-28T09:34:20.703
Which library are you using? – Shabahat M. Ayubi – 2017-03-01T08:08:27.950
I am using bitconj. – Aqqqq – 2017-03-01T08:47:07.677