Add miner api check #28