Create stacked pools historical hashrates to see dominance over time

This commit is contained in:
nymkappa committed 2022-02-24 20:21:12 +09:00
1 parent a214c5ca20
commit 78fa3e33cd
16 files changed
+485 -38

No files matched your search

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