diff --git a/src/antelope/chains/EVMChainSettings.ts b/src/antelope/chains/EVMChainSettings.ts index 5e1cf278..6923c478 100644 --- a/src/antelope/chains/EVMChainSettings.ts +++ b/src/antelope/chains/EVMChainSettings.ts @@ -331,7 +331,8 @@ export default abstract class EVMChainSettings implements ChainSettings { for (const result of balances.results) { const token = tokenList.find(t => t.address.toLowerCase() === result.contract.toLowerCase()); const contractData = balances.contracts[result.contract] ?? {}; - const callDataStr = contractData.calldata as string | object; + // fixing calldata + const callDataStr = contractData.calldata as string | object ?? '{}'; try { if (typeof callDataStr === 'string') {