added sync version of try_mint_pos(for rpc wallet)