How do I see the IP address that someone used to send or receive bitcoins with? Is it stored in the blockchain?
No, IP addresses are not stored in the blockchain.
But Gavin Andreson indeed notes that
Unless you are very careful in the way you use Bitcoin (and you have the technical know-how to use it with other anonymizing technologies like Tor or i2p), you should assume that a persistent, motivated attacker will be able to associate your IP address with your bitcoin transactions.
One way to do this is to simply run bitcoin peer-to-peer clients that connect to a large fraction of the active nodes. It's not as hard as you might think. See Dan Kaminsky's Black Hat 2011 talk, starting at slide 21, for more. (Thanks to kirian for reminding me of the link). Then see An Analysis of Anonymity in the Bitcoin System 2011-07-22 by Fergal Reid, Martin Harrigan for how to link together the various bitcoin addresses that each user uses.
Some related background is outlined by Craig Reading: Bitcoin Theft – The Top Ten Threats | Genesys Guru Blog
The blockchain doesn't store IP addresses. In order to obtain the IP address of someone sending or receiving bitcoins, you would have either observe the activity of the network very carefully, or track them down by some other means. Keep in mind that, for example, someone could receive bitcoins without ever being connected to the internet.
If the transaction was made through a third party website (such as en e-wallet or an exchange), you could try to contact the website owner and ask for the logs, if there are any.
The Bitcoin protocol does not record this information by itself.
The IP information you can obtain monitoring the network traffic. Block-chain doesn't contain any useful information to garner IP addresses, but if the user isn't careful with their activities or using a bitcoin mixer, tracking their block-chain info to ascertain habits won't be challenging, and you can use that to confirm an IP.
Now, onto bitcoin mixers. If you use a clearnet mixer, those sites are subject to governmental regulation (which varies by government) and can be required to give up their records. Darknet mixers on I2P and Tor are not subject to the same controls and don't typically record any information about their users. Since there's no user data to surrender and the hash data from the block-chain is all scrambled, it's useless to LEOs.
protected by Community♦ Feb 5 '18 at 15:41
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?