Merge branch 'master' into nymkappa/feature/timespan-selector-update

This commit is contained in:
wiz
2022-04-23 06:23:23 +00:00
committed by GitHub
31 changed files with 743 additions and 113 deletions

View File

@@ -182,6 +182,13 @@ export class ApiService {
);
}
getHistoricalBlockFeeRates$(interval: string | undefined) : Observable<any> {
return this.httpClient.get<any[]>(
this.apiBaseUrl + this.apiBasePath + `/api/v1/mining/blocks/fee-rates` +
(interval !== undefined ? `/${interval}` : '')
);
}
getRewardStats$(blockCount: number = 144): Observable<RewardStats> {
return this.httpClient.get<RewardStats>(this.apiBaseUrl + this.apiBasePath + `/api/v1/mining/reward-stats/${blockCount}`);
}