UNPKG

@ledgerhq/ledger-cal-service

Version:
21 lines 576 B
import { type ServiceOption } from "./common"; export type Unit = { code: string; name: string; magnitude: number; }; export declare class NoCurrencyFound extends Error { constructor(message: string); } export type CurrencyData = { id: string; chainId?: number; coinType: number; config: string; signature: string; symbol: string; ticker: string; units: Unit[]; }; export declare function findCurrencyData(id: string, { env, signatureKind, ref, }?: ServiceOption): Promise<CurrencyData>; //# sourceMappingURL=currencies.d.ts.map