Author

Topic: Finding the main address of a transaction (Read 721 times)

newbie
Activity: 23
Merit: 0
September 08, 2013, 11:19:48 AM
#4
I see. Thanks  Cheesy
legendary
Activity: 1890
Merit: 1086
Ian Knowles - CIYAM Lead Developer
September 08, 2013, 11:06:18 AM
#3
I am guessing you are trying to work out where to send funds back to (most likely for the purpose of some sort of gambling game) - the short answer is that you *cannot* determine this as the protocol doesn't have such information.

If you want to be able to reliably send money *back* to an address you should ask the user/player to provide a "payment" address.
full member
Activity: 134
Merit: 100
September 08, 2013, 11:03:30 AM
#2
you should ask the sender of the transaction.
Sometimes they can send it with an address they don't control, like as an mtgox withdrawal, or from another exchanger...
Safest is to ask.
newbie
Activity: 23
Merit: 0
September 08, 2013, 10:36:20 AM
#1
When someone sends a payment to my address, I need to find their primary address, the one they control. But it's obscured by all the output/input addresses. I can't figure out which address is the one they control. How do I find that?
Jump to: