UNPKG

@ledgerhq/coin-hedera

Version:
15 lines 702 B
import BigNumber from "bignumber.js"; import type { Account, Operation } from "@ledgerhq/types-live"; import type { HederaOperationExtra, Transaction } from "../types"; export declare const estimatedFeeSafetyRate = 2; export declare function getEstimatedFees(account: Account): Promise<BigNumber>; export declare function calculateAmount({ account, transaction, }: { account: Account; transaction: Transaction; }): Promise<{ amount: BigNumber; totalSpent: BigNumber; }>; export declare function base64ToUrlSafeBase64(data: string): string; export declare function patchOperationWithExtra(operation: Operation, extra: HederaOperationExtra): Operation; //# sourceMappingURL=utils.d.ts.map