Linked Questions

1
vote
1answer
195 views

Can anyone explain this pseudocode to find a returning address?

I was reading a popular answer which explains how to find the address of the person who sent a transaction and the pseudocode in that answer does not make much sense to me. txid = <relevant ...
4
votes
1answer
4k views

How to get address from scriptSig?

I'm looking for a way to get address from scriptSig. I want to know input address. Can you share how to do it? I prefer PHP library but any ways would be appreciated. e.g. I use bitwasp, a PHP ...
5
votes
3answers
5k views

How to find the change / sender address given a txid?

Suppose I'm making a service like SatoshiDice and when I receive a transaction I want to give some money back. Where can I find the sender address? If I run this, e.g.: bitcoin-cli gettransaction ...
2
votes
2answers
159 views

What is the best method of getting the originating address of Bitcoin transaction?

As far as I see there are currently two methods of getting the sender's address in a Bitcoin transaction: Look up the input transaction and read the corresponding output address there (like this: How ...
0
votes
3answers
3k views

Any single transaction has vin and vout values. How can I tell the address of the originator and receiver?

This is my very first dive into the actual transaction contents. I'm choosing a random transaction in the block chain to understand whats going on. So, I see that this particular transaction has a ...
6
votes
2answers
2k views

Send Bitcoins back where they came from

How do I send Bitcoins back to the person that sent me them without asking that person for a address without querying a block explorer? I already know that (given that the person has his own wallet ...
3
votes
3answers
1k views

Determining refund addresses with bitcoind [duplicate]

I'm trying to determine the source address of transactions for automated refunding, but I'm seeing unexpected output from Bitcoin-QT The transaction in question on blockexplorer: ...
3
votes
1answer
2k views

How can I tell what input address sent me coin? [duplicate]

Rather - how does SatoshiDice do it? I know it's not proper format and people advise against it, but how is it technically possible?
7
votes
1answer
4k views

How can I find the sender's address from the transaction hash? [duplicate]

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 ...
8
votes
3answers
1k views

What's the best way for a website to detect payments from green addresses?

Does any proven third party code exist for this? Edit* To be more specific, what I haven't been able to find out is how to get the sender's bitcoin address when receiving a transaction. As far as ...