isActive(); // Check user token $user_id = $api->checkAccess($user->checkApiKey($_REQUEST['api_key']), @$_REQUEST['id']); // Fetch data from wallet $bitcoin->can_connect() === true ? $dDifficulty = $bitcoin->getdifficulty() : $iDifficulty = 1; // Output JSON format echo $api->get_json($dDifficulty); // Supress master template $supress_master = 1; ?>