From e1a1a7727bbf94d3e474846ffc9fa082ec83c3b3 Mon Sep 17 00:00:00 2001 From: ChiTimesChi <88190723+ChiTimesChi@users.noreply.github.com> Date: Tue, 19 Nov 2024 11:33:30 +0000 Subject: [PATCH] fix: update for #3372 --- packages/sdk-router/src/rfq/api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sdk-router/src/rfq/api.ts b/packages/sdk-router/src/rfq/api.ts index 6b7d08160f..d13d28c763 100644 --- a/packages/sdk-router/src/rfq/api.ts +++ b/packages/sdk-router/src/rfq/api.ts @@ -30,7 +30,7 @@ export type PutRFQRequestAPI = { dest_chain_id: number origin_token_addr: string dest_token_addr: string - origin_amount: string + origin_amount_exact: string expiration_window: number } } @@ -118,7 +118,7 @@ export const getBestRelayerQuote = async ( dest_chain_id: ticker.destToken.chainId, origin_token_addr: ticker.originToken.token, dest_token_addr: ticker.destToken.token, - origin_amount: originAmount.toString(), + origin_amount_exact: originAmount.toString(), expiration_window: EXPIRATION_WINDOW, }, }