Bitcoin Payment Sender

Joined
Mar 12, 2017
Messages
13
Reaction score
1
Hi All!

I' like to ask specifically... How to get the sender's address of a bitcoin payment transaction?

Thanks!
 
Bitcoin does not have "sender addresses". It has transactions, which spend coins you have authority to spend from, and creates new coins with potentially different owners.

https://bitcoin.stackexchange.com/questions/60754/bitcoind-sender-and-receiver-address
 
Look the transaction up on a blockchain database site and it will tell you where the funds came from and where they went.
 
Listing the previous owners of coins as senders is a practice used by some block explorer websites, but is at best uninteresting and at worst may result in monetary loss:

  • Not every script has a corresponding address.
  • The previous owner is not necessarily the sender (e.g. in the case of a service with multiple users, the addresses belong to the service, not the users).
  • You can't use these to refund coins (a property that is usually expected of a "sender address"), as in the case of a shared account, the address may be associated with a different user of the service.
  • Widely deployed privacy improvement techniques like CoinJoin result in transactions where only one of the transaction's inputs is related to the sender you care about, with no way to identify which.
 
Back
Top