Block subsidy graph back to timespan selection mode

This commit is contained in:
natsoni
2024-05-11 14:36:17 +02:00
parent 53a493c233
commit 0ef76f3e64
7 changed files with 93 additions and 236 deletions

View File

@@ -333,13 +333,6 @@ export class ApiService {
);
}
getHistoricalExactBlockFees$(height: string | undefined) : Observable<any> {
return this.httpClient.get<any[]>(
this.apiBaseUrl + this.apiBasePath + `/api/v1/mining/blocks/exact-fees` +
(height !== undefined ? `/${height}` : ''), { observe: 'response' }
);
}
getHistoricalBlockRewards$(interval: string | undefined) : Observable<any> {
return this.httpClient.get<any[]>(
this.apiBaseUrl + this.apiBasePath + `/api/v1/mining/blocks/rewards` +