UNPKG

@trezor/connect

Version:

High-level javascript interface for Trezor hardware wallet.

19 lines 754 B
import type { FeeInfo, FeeLevel } from '../types/fees'; export declare const DEFAULT_BITCOIN_LONGTERM_FEE_RATE = "1"; interface CoinsJsonData { shortcut: string; blocktime_seconds: number; default_fee_b: Record<'High' | 'Normal' | 'Economy' | 'Low', number>; maxfee_kb: number; minfee_kb: number; dust_limit: number; chain: string; } export type FeeInfoWithLevels = FeeInfo & { defaultFees: FeeLevel[]; }; export declare const getBitcoinFeeLevels: (coin: CoinsJsonData) => FeeInfoWithLevels; export declare const getEthereumFeeLevels: (network: CoinsJsonData) => FeeInfoWithLevels; export declare const getMiscFeeLevels: (data: CoinsJsonData) => FeeInfoWithLevels; export {}; //# sourceMappingURL=defaultFeeLevels.d.ts.map