[tx] start adding acceleration preview

This commit is contained in:
nymkappa committed 2023-08-24 14:17:31 +02:00
1 parent 3aa938a94b
commit c89e283c8e
10 files changed
+112 -16

No files matched your search

+4
View File
@@ -388,4 +388,8 @@ export class ApiService {
getServicesBackendInfo$(): Observable<IBackendInfo> {
return this.httpClient.get<IBackendInfo>(`${SERVICES_API_PREFIX}/version`);
}
estimate$(txInput: string) {
return this.httpClient.post<any>(`${SERVICES_API_PREFIX}/accelerator/estimate`, { txInput: txInput }, { observe: 'response' });
}
}