Adding miner api stub