import { aV as NATIVE_TOKEN_ADDRESS } from './index-b5c5c441.browser.esm.js';
import { i as isNativeToken } from './fetchCurrencyValue-0900d6ff.browser.esm.js';

/**
 * @internal
 */
function cleanCurrencyAddress(currencyAddress) {
  if (isNativeToken(currencyAddress)) {
    return NATIVE_TOKEN_ADDRESS;
  }
  return currencyAddress;
}

export { cleanCurrencyAddress as c };
