If you cannot determine the market value of either of the cryptocurrencies in a crypto-for-crypto trade then the received crypto inherits the cost basis of the sold crypto. In this case, you would split the cost basis of the sold crypto and allocate it accordingly to the crypto you've purchased. No gain or loss would be recognized on this transaction.
Ready to get your tax report?
To get started, simply sync your wallet and exchanges.