@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
18 lines • 553 B
TypeScript
import { AppPlatform, PlatformAccount } from "./types";
export type FilterParams = {
branches?: string[];
platform?: AppPlatform;
private?: boolean;
apiVersion?: string[] | string;
llVersion?: string;
lang?: string;
};
export type AccountFilters = {
currencies?: string[];
};
export declare function filterPlatformAccounts(accounts: PlatformAccount[], filters: AccountFilters): PlatformAccount[];
export type CurrencyFilters = {
includeTokens?: boolean;
currencies?: string[];
};
//# sourceMappingURL=filters.d.ts.map