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

add intent to swap quote
This commit is contained in:
Tina 2023-09-15 15:30:22 -04:00 committed by GitHub
parent adaa7f1a0d
commit 2eb145ab80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -136,6 +136,7 @@ export const routingApi = createApi({
tokenOut: tokenOutAddress,
amount,
type,
intent: args.routerPreference === INTERNAL_ROUTER_PREFERENCE_PRICE ? 'pricing' : undefined,
configs: getRoutingAPIConfig(args),
}