feat: Add intent to swap quote request (#7245)
add intent to swap quote
This commit is contained in:
parent
adaa7f1a0d
commit
2eb145ab80
@ -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),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user