Bisq explorer is now a separate module.

This commit is contained in:
softsimon committed 2020-07-11 00:17:13 +07:00
1 parent 58509aa612
commit 2ac2d9ecce
34 files changed
+347 -106

No files matched your search

+6
View File
@@ -73,4 +73,10 @@ export class ApiService {
getBisqBlock$(hash: string): Observable<BisqBlock> {
return this.httpClient.get<BisqBlock>(this.apiBaseUrl + '/bisq/block/' + hash);
}
listBisqBlockTransactions$(blockHash: string, start: number, length: number): Observable<HttpResponse<BisqTransaction[]>> {
return this.httpClient.get<BisqTransaction[]>(
this.apiBaseUrl + `/bisq/block/${blockHash}/txs/${start}/${length}`, { observe: 'response' }
);
}
}