Bitcoin Forum
June 14, 2024, 08:15:21 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: using c# - verify that 2 addresses were in a transaction  (Read 829 times)
BaiMangal (OP)
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
December 09, 2013, 09:34:59 PM
Last edit: December 10, 2013, 08:04:38 AM by BaiMangal
 #1

doing an app just to learn... and I need to know whats the best or what options I have to do this:

what would you use to verify that 2 addresses were in a transactin using C#?
I need to know if address A (received or send btc) from/to address B and I am doing my app in C#

can I use bitcoin client to achieve this?

thanks!
BaiMangal (OP)
Member
**
Offline Offline

Activity: 111
Merit: 10


View Profile
December 10, 2013, 10:09:35 AM
 #2

is blockchain.info API my best choice?
biteasy
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile WWW
December 10, 2013, 10:44:39 AM
 #3

You could also try our REST API:
https://www.biteasy.com/developers
myrez
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
December 10, 2013, 11:09:34 PM
 #4

I would use bitcoin daemon, but for that you need server for daemon.
And you could use c# as well.
mcaizgk2
Member
**
Offline Offline

Activity: 66
Merit: 10


View Profile
February 09, 2014, 06:28:59 AM
 #5

You can use this library: https://github.com/GeorgeKimionis/BitcoinLib for C#, GetTransactionSenderAddress  returns the transaction's inputs' previous owing address(es), which is what you're asking for.

However it's worth mentioning that your client's sending addresses are actually different that your receiving addresses, so the challenge here is to find whether the sender for any given transaction's receiving address is the one you thought it was going to be in the first place.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!