Create working template for the new blocks page
This commit is contained in:
1 parent
a56d11ef13
commit
aa7476807b
8 files changed
+248
-4
No files matched your search
@@ -151,6 +151,13 @@ export class ApiService {
|
||||
);
|
||||
}
|
||||
|
||||
getBlocks$(from: number): Observable<BlockExtended[]> {
|
||||
return this.httpClient.get<BlockExtended[]>(
|
||||
this.apiBasePath + this.apiBasePath + `/api/v1/blocks-extras` +
|
||||
(from !== undefined ? `/${from}` : ``)
|
||||
);
|
||||
}
|
||||
|
||||
getHistoricalDifficulty$(interval: string | undefined): Observable<any> {
|
||||
return this.httpClient.get<any[]>(
|
||||
this.apiBaseUrl + this.apiBasePath + `/api/v1/mining/difficulty` +
|
||||
|
||||
Reference in new issue
Block a user