diff --git a/lib/coinHelpers.ts b/lib/coinHelpers.ts index c20eac6..8ae529e 100644 --- a/lib/coinHelpers.ts +++ b/lib/coinHelpers.ts @@ -17,6 +17,11 @@ const macroCoinToMicroCoin = (macroCoin: Coin, assets: readonly RegistryAsset[]) ), ); + // Leave IBC coins as is if not found on registry assets + if (!asset && macroCoin.denom.toLowerCase().startsWith("ibc/")) { + return macroCoin; + } + assert(asset, `An asset with the given symbol ${macroCoin.denom} was not found`); const macroUnit = asset.denom_units.find(