Added hashrate chart

This commit is contained in:
nymkappa committed 2022-02-21 14:48:58 +09:00
1 parent 6fe8f6fa1e
commit 358604ad85
8 files changed
+284 -12

No files matched your search

+7
View File
@@ -156,4 +156,11 @@ export class ApiService {
(interval !== undefined ? `/${interval}` : '')
);
}
getHistoricalHashrate$(interval: string | undefined): Observable<any> {
return this.httpClient.get<any[]>(
this.apiBaseUrl + this.apiBasePath + `/api/v1/mining/hashrate` +
(interval !== undefined ? `/${interval}` : '')
);
}
}