7

I am trying to get the address the bitcoins were last owned by or the "from" address, I know that if you send bitcoins back to that address not in all cases will the user actually get them but I still need the code for it. Thanks in advance.

I am thinking it has something to do with Program.b.GetTransaction()

If I have an address, and coins are sent to that address, I want to find out the address the coins were sent from, I have a different address for every transactions specially for this.

  • You could just make straight calls to bitcoind, from within a C# app. Take a look at this question(bitcoin.stackexchange.com/questions/7369/…). The question is about Satoshi Dice, but it does provide instructions on how to get customer information, including their original payment address. I'm not aware of a C# client. However, a C# application could easily integrate with the bitcoind.exe console application. – RLH Oct 26 '13 at 3:02
  • I maintain a c# wallet client located on Github: github.com/chriswill/WalletClient. The apis may help you. – ChrisW Jan 16 '14 at 22:27
  • Please look at the date, I have done C# and PHP implementations of that already... – Max0999 Jan 17 '14 at 1:50
1

This is implemented in the GetTransactionSenderAddress() method of BitcoinLib

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.