Trump urged members of Congress to pass legislation regulating cryptocurrencies.