Subdomain enterprise support

This commit is contained in:
softsimon
2022-07-21 19:58:12 +02:00
parent 1b7cee1d40
commit 8c312807d7
10 changed files with 110 additions and 55 deletions

View File

@@ -238,6 +238,10 @@ export class ApiService {
return this.httpClient.get<RewardStats>(this.apiBaseUrl + this.apiBasePath + `/api/v1/mining/reward-stats/${blockCount}`);
}
getEnterpriseInfo$(name: string): Observable<any> {
return this.httpClient.get<any>(this.apiBaseUrl + this.apiBasePath + `/api/v1/enterprise/info/` + name);
}
getChannelByTxIds$(txIds: string[]): Observable<{ inputs: any[], outputs: any[] }> {
let params = new HttpParams();
txIds.forEach((txId: string) => {