public Task <Miner> GetCurrentMinerAsync() => GetAsync <Miner>(ClientRoutes.GetCurrentMiner(ApiUrl));
public Task <List <Miner> > ListOwnedMinersAsync() => GetAsync <List <Miner> >(ClientRoutes.ListOwnedMiners(ApiUrl));
public Task <Wallet> GetPoolWalletAsync() => GetAsync <Wallet>(ClientRoutes.GetPoolWalletAsync(ApiUrl));
public Task <User> GetCurrentUserAync() => GetAsync <User>(ClientRoutes.GetCurrentUser(ApiUrl));
public Task StartPlotGenerationAsync(PlottingConfiguration configuration) => PostAsync(ClientRoutes.StartPlotGeneration(ApiUrl), configuration);
public Task <string[]> GetPoolLogAsync(ushort count) => GetAsync <string[]>(ClientRoutes.GetPoolLog(ApiUrl, count));
public Task <bool> DeletePlotByFileNameAsync(string fileName) => PostAsync <bool>(ClientRoutes.DeletePlotByFileName(ApiUrl), new Dictionary <string, string>() { ["fileName"] = fileName, });
public Task <bool> DeletePlotByPublicKeyAsync(string publicKey) => PostAsync <bool>(ClientRoutes.DeletePlotByPublicKey(ApiUrl), new Dictionary <string, string>() { ["publicKey"] = publicKey.ToString(), });
public Task ReloadPlotsAsync() => PostAsync(ClientRoutes.ReloadPlots(ApiUrl));
public Task <PlotInfo[]> GetPlotsAsync() => GetAsync <PlotInfo[]>(ClientRoutes.ListPlots(ApiUrl));
public Task <ClientStatus> GetStatusAsync() => GetAsync <ClientStatus>(ClientRoutes.Status(ApiUrl));