diff --git a/src/lib/swapper/swappers/CowSwapper/endpoints.ts b/src/lib/swapper/swappers/CowSwapper/endpoints.ts index 49b43eeb35d..d2b45663e69 100644 --- a/src/lib/swapper/swappers/CowSwapper/endpoints.ts +++ b/src/lib/swapper/swappers/CowSwapper/endpoints.ts @@ -102,7 +102,7 @@ export const cowApi: Swapper2Api = { // from, sellTokenBalance: ERC20_TOKEN_BALANCE, buyTokenBalance: ERC20_TOKEN_BALANCE, - quoteId: id.toString(), + quoteId: id, } const adapter = assertGetEvmChainAdapter(sellAsset.chainId) diff --git a/src/lib/swapper/swappers/CowSwapper/utils/helpers/helpers.ts b/src/lib/swapper/swappers/CowSwapper/utils/helpers/helpers.ts index 5b7d37648ed..854282ab1e3 100644 --- a/src/lib/swapper/swappers/CowSwapper/utils/helpers/helpers.ts +++ b/src/lib/swapper/swappers/CowSwapper/utils/helpers/helpers.ts @@ -48,7 +48,7 @@ export type CowSwapOrder = { receiver: string sellTokenBalance: string buyTokenBalance: string - quoteId: string + quoteId: number } export type CowSwapQuoteApiInputBase = {