Author

Topic: Return address on a transaction (Read 2071 times)

legendary
Activity: 1176
Merit: 1280
May Bitcoin be touched by his Noodly Appendage
August 15, 2011, 09:02:41 AM
#5
In most cases you can find it with blockexplorer
legendary
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
August 15, 2011, 07:58:39 AM
#4
I understand that refunds won't get back to the sender when sent from an online wallet, but when sent from the client isn't there a "from" address?
No, there isn't. Coins are never sent from an address, only to an address. Some of the coins in a transaction may have been claimed by particular addresses, but that is not a requirement, nor need a transaction have only one address used to claim the coins used in it. For example, I could mine a block and send your address the 50 coins I get for mining it. What's the "from" address in that case?
newbie
Activity: 33
Merit: 0
August 15, 2011, 07:49:48 AM
#3
So how do all these ponzi games and lotteries work?  They send bitcoin back to the depositor.

There's no way to get that return address with the API?

I understand that refunds won't get back to the sender when sent from an online wallet, but when sent from the client isn't there a "from" address?
legendary
Activity: 1596
Merit: 1012
Democracy is vulnerable to a 51% attack.
August 15, 2011, 07:43:05 AM
#2
There really isn't one. The only safe way is to get the sender to tell you where he wants the coins returned. There are many ways a person may send you coins from an address on which he cannot receive coins.
newbie
Activity: 33
Merit: 0
August 15, 2011, 07:39:52 AM
#1
Sorry if this is a dumb question, but how can I use the JSON-RPC to get a transaction's "return address"?  If I need to refund bitcoin, how can I get that address?

Many thanks!

Jump to: