@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
10 lines • 681 B
TypeScript
import { Currency, CryptoCurrency, CryptoOrTokenCurrency, TokenCurrency } from "@ledgerhq/types-cryptoassets";
export declare function isCryptoCurrency(currency: Currency): currency is CryptoCurrency;
export declare function isTokenCurrency(currency: Currency): currency is TokenCurrency;
export declare function isUTXOCompliant(currencyFamily: string): boolean;
export declare function listCurrencies(includeTokens: boolean): CryptoOrTokenCurrency[];
export type CurrencyFilters = {
currencies?: string[];
};
export declare function filterCurrencies(currencies: CryptoOrTokenCurrency[], filters: CurrencyFilters): CryptoOrTokenCurrency[];
//# sourceMappingURL=helpers.d.ts.map