diff --git a/src/handlers/evm/utils.ts b/src/handlers/evm/utils.ts index 54dc9f7..cb0ff72 100644 --- a/src/handlers/evm/utils.ts +++ b/src/handlers/evm/utils.ts @@ -238,14 +238,15 @@ export class Utils { if (!token) return null; - const { decimals, symbol, address } = token; + const { decimals, symbol, address, chainId } = token; return { address, // balance in wei balance: parseInt(balance, 16).toString(), decimals, - symbol + symbol, + chainId }; } catch (error) { return null; diff --git a/src/types/index.ts b/src/types/index.ts index 0990629..065d094 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -111,6 +111,7 @@ export type TokenBalance = { address: string; decimals: number; balance: string; + chainId: string | number; }; export type CosmosAddress = {