user323: 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)?

user153: If the address is in your wallet, gettransaction includes the input addresses:

http://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

If this is done by an agent where the addresses might not be in the wallet, v0.7 getrawtransaction gives you access to those transactions.

http://en.bitcoin.it/wiki/Raw_Transactions

There are other tools that you can use to build this capability as well.

libBitcoin
Armory (see Extras)
Bitcoin ABE 


323: <p>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)?</p>
 153: <p>If the address is in your wallet, gettransaction includes the input addresses:</p>

<ul>
<li><a href="http://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list" rel="nofollow">http://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list</a></li>
</ul>

<p>If this is done by an agent where the addresses might not be in the wallet, v0.7 getrawtransaction gives you <a href="https://bitcointalk.org/index.php?topic=89725.msg990497#msg990497" rel="nofollow">access to those transactions</a>.</p>

<ul>
<li><a href="http://en.bitcoin.it/wiki/Raw_Transactions" rel="nofollow">http://en.bitcoin.it/wiki/Raw_Transactions</a></li>
</ul>

<p>There are other tools that you can use to build this capability as well.</p>

<ul>
<li>libBitcoin</li>
<li>Armory (see <a href="https://github.com/etotheipi/BitcoinArmory/tree/master/extras" rel="nofollow">Extras</a>)</li>
<li>Bitcoin ABE </li>
</ul>
