From 8d155a53c0b69294029965fd1bce23590346c26e Mon Sep 17 00:00:00 2001 From: kvhnuke <10602065+kvhnuke@users.noreply.github.com> Date: Fri, 8 Sep 2023 13:19:00 -0700 Subject: [PATCH] devop: add platform and type --- .../providers/ethereum/libs/assets-handlers/assetinfo-mew.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/extension/src/providers/ethereum/libs/assets-handlers/assetinfo-mew.ts b/packages/extension/src/providers/ethereum/libs/assets-handlers/assetinfo-mew.ts index 15520b763..4281a89a0 100644 --- a/packages/extension/src/providers/ethereum/libs/assets-handlers/assetinfo-mew.ts +++ b/packages/extension/src/providers/ethereum/libs/assets-handlers/assetinfo-mew.ts @@ -122,8 +122,9 @@ const getTokens = ( } let url = ""; if (chain === NetworkNames.Ethereum || chain === NetworkNames.Binance) - url = `${API_ENPOINT}${supportedNetworks[chain].tbName}?address=${address}`; - else url = `${API_ENPOINT2}${supportedNetworks[chain].tbName}/${address}`; + url = `${API_ENPOINT}${supportedNetworks[chain].tbName}?address=${address}&platform=enkrypt&type=internal`; + else + url = `${API_ENPOINT2}${supportedNetworks[chain].tbName}/${address}?platform=enkrypt&type=internal`; return fetch(url) .then((res) => res.json()) .then((json) => {