@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
9 lines • 347 B
JavaScript
import { getEnv } from "@ledgerhq/live-env";
import network from "@ledgerhq/live-network";
const ROOT_PATH = getEnv("MAPPING_SERVICE");
export async function getMappedAssets() {
const url = `${ROOT_PATH}/v1/coingecko/mapped-assets`;
const { data } = await network({ method: "GET", url });
return data;
}
//# sourceMappingURL=api.js.map