Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8305, feat alternative routes #3305

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open

8305, feat alternative routes #3305

wants to merge 7 commits into from

Conversation

IDIDOS
Copy link
Contributor

@IDIDOS IDIDOS commented Sep 16, 2024

No description provided.

@IDIDOS IDIDOS requested a review from a team as a code owner September 16, 2024 09:25
params: AlternativeRoutesRequestParams
): Observable<AlternativeTokenPairs[]> {
return this.httpClient
.get<AlternativeRouteDTO>('https://dev-tokens.rubic.exchange/api/v1/token_pairs', {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

из env надо брать апи


public getAlternativeRoutes(): Observable<AlternativeRoute[]> {
this._alternativeRouteStatus$.next(AlternativeRouteStatuses.PENDING);
return combineLatest([this.swapFormService.fromToken$, this.swapFormService.toToken$]).pipe(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forkJoin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants