Transaction view.

This commit is contained in:
Simon Lindh
2019-11-10 16:44:00 +08:00
parent 02d67e8406
commit bd2bd478ef
26 changed files with 287 additions and 37 deletions

View File

@@ -166,4 +166,7 @@ export class ApiService {
return this.httpClient.get<IBlockTransaction[]>(API_BASE_URL + '/explorer/blocks/' + (height || ''));
}
getTransaction$(txId: string): Observable<IBlockTransaction[]> {
return this.httpClient.get<IBlockTransaction[]>(API_BASE_URL + '/explorer/tx/' + txId);
}
}