7
2
Possible Duplicate:
How to findout the sender of a transaction
I am trying to use blockchain.info API to receive a payment and store the sender's address. However, the API only indicates the transaction hash, not the sender's address. Perhaps this is simply ignorance about the BTC Protocol, but how can I find the sender's address from any given transaction hash?
The two API's I am using:
OK... Thanks for answering. Where Can I found that here? Is it the "hash" of "prevout"? https://blockchain.info/api/blockchain_api
– flaab – 2012-09-29T14:45:56.617@flaab You'd have to parse the website, not the raw Tx, as a Bitcoin transaction does not encode the previous transaction. If you want to use raw Tx, you would need to take the
prev_outhashandn, go to the transaction of that hash and check theoutwith an indexn. – ThePiachu – 2012-09-29T17:04:05.633