@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
33 lines • 1.01 kB
TypeScript
import { BigNumber } from "bignumber.js";
import { AccountLike } from "@ledgerhq/types-live";
export declare const getCustomFeesPerFamily: (transaction: any) => {
maxFeePerGas: any;
maxPriorityFeePerGas: any;
gasPrice: any;
feePerByte?: undefined;
utxoStrategy?: undefined;
fees?: undefined;
} | {
feePerByte: any;
utxoStrategy: any;
maxFeePerGas?: undefined;
maxPriorityFeePerGas?: undefined;
gasPrice?: undefined;
fees?: undefined;
} | {
fees: any;
maxFeePerGas?: undefined;
maxPriorityFeePerGas?: undefined;
gasPrice?: undefined;
feePerByte?: undefined;
utxoStrategy?: undefined;
};
export declare const convertToNonAtomicUnit: ({ amount, account, }: {
amount?: BigNumber | undefined;
account: AccountLike;
}) => BigNumber | undefined;
export declare const convertToAtomicUnit: ({ amount, account, }: {
amount?: BigNumber | undefined;
account: AccountLike;
}) => BigNumber | undefined;
//# sourceMappingURL=utils.d.ts.map