Add block fees vs subsidy bar chart

This commit is contained in:
natsoni
2024-05-03 12:33:05 +02:00
parent 1b25a71d9f
commit 453a2224cd
10 changed files with 630 additions and 0 deletions

View File

@@ -329,6 +329,13 @@ 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` +