Determining actual cost of aquisition of crypto

If, for example, I have $10k in ETH (Ethereum) and the way I purchased it was over a several year period over several different platforms (Coinbase, Kraken, BlockFi) as well as some mining of ETH, do I need to consolidate all of these purchases/cost basis together to determine my cost for the ETH ?