UNPKG

@ledgerhq/coin-canton

Version:
6 lines 409 B
import { parseCurrencyUnit } from "@ledgerhq/coin-module-framework/currencies"; import { getCryptoCurrencyById } from "@ledgerhq/ledger-wallet-framework/currencies"; // NOTE: replace ripple by your currency id, it should be found in // @domain/entity-currency-crypto export const parseAPIValue = (value) => parseCurrencyUnit(getCryptoCurrencyById("ripple").units[0], value); //# sourceMappingURL=common.js.map