1
Since the full Bitcoin transaction history is public, is it possible to calculate the values that all currently held Bitcoins were acquired at (in USD). For example, if a Bitcoin has been held since Jan 11, 2011, then it was acquired when the exchange rate was $0.32. But if a bitcoin was acquired today, then its acquisition price was ~$7000 (today is a bad example because it was so volatile).
If so, I was wondering if anyone could point me in the right direction? I know I would need to parse the full transaction log, but I'm not sure:
1) Are there timestamps on the individual transactions? If not, what is the best way to infer the transaction date? Just using the block number?
2) Is it easy to identify transactions for the various exchanges (Coinbase, etc)? How would I do this?
3) I am assuming I can find the historical exchange rates somewhere, but if anyone can point me to this, it would also be helpful!
Any other advice? Thanks! I am new to Bitcoin, but very interested in learning more.
Raghav, thanks. A few follow-up questions. 1) If I understand correctly, mined bitcoin doesn't immediately show up in the transaction history? It only shows up after it's been used in a transaction with another private key? 2) When you buy bitcoin from an exchange, they do not make an on-chain transaction? So this means they have not actually purchased bitcoin for you - all of the accounting is done internally within the exchange? If I buy 1 bitcoin from CoinBase today, when does this transaction actually show up in the Bitcoin transaction history? – adn bps – 2018-04-05T01:50:35.063
>
>That's correct. Exchanges use internal accounting systems. No transaction on the Bitcoin network is made until you deposit or withdraw coins. Until you withdraw coins from an exchange to your own wallet (where you control the private keys), you are trusting the exchange to not default on their promise that you own X bitcoin.
< – Raghav Sood – 2018-04-05T02:04:54.780