[tx] integrated accelerator

This commit is contained in:
nymkappa
2023-08-26 09:52:55 +02:00
parent f9895a492c
commit fcecbe4967
10 changed files with 519 additions and 54 deletions

View File

@@ -392,4 +392,8 @@ export class ApiService {
estimate$(txInput: string) {
return this.httpClient.post<any>(`${SERVICES_API_PREFIX}/accelerator/estimate`, { txInput: txInput }, { observe: 'response' });
}
accelerate$(txInput: string, userBid: number) {
return this.httpClient.post<any>(`${SERVICES_API_PREFIX}/accelerator/accelerate`, { txInput: txInput, userBid: userBid });
}
}