Bitcoin Forum
December 14, 2017, 04:12:22 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Return address on a transaction  (Read 1933 times)
bittycoin
Jr. Member
*
Offline Offline

Activity: 34


View Profile
August 15, 2011, 12:39:52 PM
 #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!

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513267942
Hero Member
*
Offline Offline

Posts: 1513267942

View Profile Personal Message (Offline)

Ignore
1513267942
Reply with quote  #2

1513267942
Report to moderator
1513267942
Hero Member
*
Offline Offline

Posts: 1513267942

View Profile Personal Message (Offline)

Ignore
1513267942
Reply with quote  #2

1513267942
Report to moderator
1513267942
Hero Member
*
Offline Offline

Posts: 1513267942

View Profile Personal Message (Offline)

Ignore
1513267942
Reply with quote  #2

1513267942
Report to moderator
JoelKatz
Legendary
*
Offline Offline

Activity: 1582


Democracy is vulnerable to a 51% attack.


View Profile WWW
August 15, 2011, 12:43:05 PM
 #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.

I am an employee of Ripple. Follow me on Twitter @JoelKatz
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
bittycoin
Jr. Member
*
Offline Offline

Activity: 34


View Profile
August 15, 2011, 12:49:48 PM
 #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?
JoelKatz
Legendary
*
Offline Offline

Activity: 1582


Democracy is vulnerable to a 51% attack.


View Profile WWW
August 15, 2011, 12:58:39 PM
 #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?

I am an employee of Ripple. Follow me on Twitter @JoelKatz
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
jackjack
Legendary
*
Offline Offline

Activity: 1134


May Bitcoin be touched by his Noodly Appendage


View Profile
August 15, 2011, 02:02:41 PM
 #5

In most cases you can find it with blockexplorer

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!