From 2eb145ab8005674526950682627e198c1368a721 Mon Sep 17 00:00:00 2001 From: Tina <59578595+tinaszheng@users.noreply.github.com> Date: Fri, 15 Sep 2023 15:30:22 -0400 Subject: [PATCH] feat: Add intent to swap quote request (#7245) add intent to swap quote --- src/state/routing/slice.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/state/routing/slice.ts b/src/state/routing/slice.ts index 2d7ef16a41..a3ca957f62 100644 --- a/src/state/routing/slice.ts +++ b/src/state/routing/slice.ts @@ -136,6 +136,7 @@ export const routingApi = createApi({ tokenOut: tokenOutAddress, amount, type, + intent: args.routerPreference === INTERNAL_ROUTER_PREFERENCE_PRICE ? 'pricing' : undefined, configs: getRoutingAPIConfig(args), }