UNPKG

@ledgerhq/live-common

Version:
12 lines 366 B
import { getEnv } from "@ledgerhq/live-env"; export const findCurrencyExplorer = (currency) => { if (currency.explorerId == null) { console.warn("no explorerId for", currency.id); } return { endpoint: getEnv("EXPLORER"), id: currency.explorerId ?? currency.id, version: "v4", }; }; //# sourceMappingURL=explorer.js.map