fix(wallet)_: exclude paraswap providers not supporting partner fees (#5573)
This commit is contained in:
parent
5b36cf8267
commit
0456dcef8b
|
@ -47,6 +47,8 @@ func (c *ClientV5) FetchPriceRoute(ctx context.Context, srcTokenAddress common.A
|
||||||
params.Add("amount", amountWei.String())
|
params.Add("amount", amountWei.String())
|
||||||
params.Add("side", string(side))
|
params.Add("side", string(side))
|
||||||
params.Add("partner", c.partnerID)
|
params.Add("partner", c.partnerID)
|
||||||
|
params.Add("excludeContractMethodsWithoutFeeModel", "true")
|
||||||
|
params.Add("excludeDEXS", "AugustusRFQ") // This DEX causes issues when creating the transaction
|
||||||
|
|
||||||
url := pricesURL
|
url := pricesURL
|
||||||
response, err := c.httpClient.DoGetRequest(ctx, url, params)
|
response, err := c.httpClient.DoGetRequest(ctx, url, params)
|
||||||
|
|
Loading…
Reference in New Issue