const e = ({ tokens: i, supportedChains: a }) => a.includes("near") ? i.find(
  (n) => !n.isIntent && n.name === "Near" && n.blockchain === "near"
) ?? i[0] : a.includes("sol") ? i.find(
  (n) => !n.isIntent && n.name === "Solana" && n.blockchain === "sol"
) ?? i[0] : i.find(
  (n) => !n.isIntent && n.name === "ETH" && n.blockchain === "eth"
) ?? i[0];
export {
  e as getMainTokenByChain
};
//# sourceMappingURL=getMainTokenByChain.js.map
