Adding 4 year button to mempool graph

fixes #3218
This commit is contained in:
softsimon committed 2023-03-04 18:48:16 +09:00
1 parent aef26097ec
commit 4e39c27c75
9 files changed
+35 -4

No files matched your search

+4
View File
@@ -68,6 +68,10 @@ export class ApiService {
return this.httpClient.get<OptimizedMempoolStats[]>(this.apiBaseUrl + this.apiBasePath + '/api/v1/statistics/3y');
}
list4YStatistics$(): Observable<OptimizedMempoolStats[]> {
return this.httpClient.get<OptimizedMempoolStats[]>(this.apiBaseUrl + this.apiBasePath + '/api/v1/statistics/4y');
}
getTransactionTimes$(txIds: string[]): Observable<number[]> {
let params = new HttpParams();
txIds.forEach((txId: string) => {