3
I am using bitcoinj (java implementation). I have read many answers here but none of them answers my question. How to get senders address using bitcoinj?
I have transaction variable tx. I can get it's hash, I have used this as well: https://blockchain.info/tx/myTXhash and it showed me the transactions. The problem is not even that web is showing me the sender.
BUT: if I use that generated .wallet file and open it with multibit (bitcoin wallet) I can see there, under transactions, from who were the money sent. That means there is a way how to get senders address, but HOW?
EDIT: I was mistaken, multibit does not know from who the money came from, I was just confused because it showed me it was sent to the right address (but that was set up by me in args).
But is there any possibility to get the message somehow from client to know if it is him who sent the money?
Do you mean getting the Bitcoin address that sent the money or somehow getting a name? – Matthieu – 2014-05-23T18:36:43.130
Yes I mean Bitcoin address that sent the money. Or some other way how to check if the money came from that person. Consider it as a wallet which is receiving money constantly, but I need to check if it is coming from the ones who wants to access on a web. – Ondrej 'zatokar' Tokár – 2014-05-25T15:28:55.947