Take the 2-minute tour ×
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It's 100% free, no registration required.

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.

share|improve this question
    
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 at 22:27
    
Please look at the date, I have done C# and PHP implementations of that already... –  Max0999 Jan 17 at 1:50

1 Answer 1

This is implemented in the GetTransactionSenderAddress() method of BitcoinLib

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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