Added `get-mining-info` function