US financial regulators are working to understand the risks and opportunities posed by cryptocurrencies.