Performing Analytics on Blockchain Data: Opportunities and Caveats