Bitcoin and Ethereum gained ground on Tuesday while XRP extended its decline, as traders weighed reports of a potential diplomatic deal between Iran.