UNPKG

@ledgerhq/coin-icon

Version:
14 lines 574 B
import { BigNumber } from "bignumber.js"; import type { AccountLike, Account } from "@ledgerhq/types-live"; import type { Transaction } from "./types"; /** * Returns the maximum possible amount for transaction * * @param {Object} param - the account, parentAccount and transaction */ export declare const estimateMaxSpendable: ({ account, parentAccount, transaction, }: { account: AccountLike; parentAccount: Account | null | undefined; transaction: Transaction | null | undefined; }) => Promise<BigNumber>; //# sourceMappingURL=estimateMaxSpendable.d.ts.map