Save current progress on the block audit page

This commit is contained in:
nymkappa committed 2022-07-14 20:41:50 +02:00
1 parent c6f33310e5
commit 1be7c953ea
18 files changed
+412 -17

No files matched your search

+6
View File
@@ -228,6 +228,12 @@ export class ApiService {
);
}
getBlockAudit$(hash: string) : Observable<any> {
return this.httpClient.get<any>(
this.apiBaseUrl + this.apiBasePath + `/api/v1/mining/blocks/audit/` + hash, { observe: 'response' }
);
}
getRewardStats$(blockCount: number = 144): Observable<RewardStats> {
return this.httpClient.get<RewardStats>(this.apiBaseUrl + this.apiBasePath + `/api/v1/mining/reward-stats/${blockCount}`);
}