4
1
I want to get information about the creator of a given transaction through Bitcoin API. More specifically, any or all addresses they sent their Bitcoins from, so I can return some of the money back. Is it possible to do using just the JSON RPC, or do I have to rely on external sources (such as the Block Explorer)?
4I would strongly urge you not to do this. For one thing, if the money was sent to you from a typical web-based wallet or exchange, the money will not go back to the sender. – David Schwartz – 2012-09-01T08:47:05.627
4The only correct way to do a refund, is to ask the sender to provide a refund address. You may be able to observe some of the addresses some of the input coins were previously sent to, but there is no guarantee that the sender expects/accepts refunds to those. Typical standalone Bitcoin clients do, but there are far from the only players on the network. – Pieter Wuille – 2012-09-01T11:30:41.513