Commit 2eb145ab authored by Tina's avatar Tina Committed by GitHub

feat: Add intent to swap quote request (#7245)

add intent to swap quote
parent adaa7f1a
...@@ -136,6 +136,7 @@ export const routingApi = createApi({ ...@@ -136,6 +136,7 @@ export const routingApi = createApi({
tokenOut: tokenOutAddress, tokenOut: tokenOutAddress,
amount, amount,
type, type,
intent: args.routerPreference === INTERNAL_ROUTER_PREFERENCE_PRICE ? 'pricing' : undefined,
configs: getRoutingAPIConfig(args), configs: getRoutingAPIConfig(args),
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment