diff --git a/src/services/swap_service.ts b/src/services/swap_service.ts index 53d7fec243..1246ff450e 100644 --- a/src/services/swap_service.ts +++ b/src/services/swap_service.ts @@ -84,8 +84,13 @@ export class SwapService { gasPrice: providedGasPrice, excludedSources, // TODO(dave4506): overrides the excluded sources selected by chainId apiKey, - intentOnFilling, - takerAddress: from, + rfqt: + rfqt === undefined || from === undefined + ? undefined + : { + ...rfqt, + takerAddress: from, + }, }; if (sellAmount !== undefined) { swapQuote = await this._swapQuoter.getMarketSellSwapQuoteAsync(