Coinbase shares surged 14% on Tuesday, as investors were buoyed by a court ruling in a Bitcoin spot ETF case that could benefit the crypto exchange as well.