UNPKG

@trezor/connect

Version:

High-level javascript interface for Trezor hardware wallet.

25 lines 996 B
import { Blockchain } from '../../backend/BlockchainLink'; import type { BitcoinNetworkInfo, FeeLevel } from '../../types'; import { Blocks } from '../common/MiscFees'; export declare class BitcoinFeeLevels { coinInfo: BitcoinNetworkInfo; levels: FeeLevel[]; longTermFeeRate?: string; blocks: Blocks; constructor(coinInfo: BitcoinNetworkInfo); load(blockchain: Blockchain): Promise<{ maxFeePerGas?: string | undefined; maxPriorityFeePerGas?: string | undefined; maxWaitTimeEstimate?: number | undefined; minWaitTimeEstimate?: number | undefined; feeLimit?: string | undefined; feePerTx?: string | undefined; baseFeePerGas?: string | undefined; effectiveGasPrice?: string | undefined; label: "normal" | "custom" | "high" | "economy" | "low"; feePerUnit: string; blocks: number; }[]>; updateBitcoinCustomFee(feePerUnit: string): void; } //# sourceMappingURL=BitcoinFees.d.ts.map