@ledgerhq/coin-icon
Version:
Ledger Icon Coin integration
14 lines • 574 B
TypeScript
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