Mining Data in On-Chain Analysis: A Practical Guide