UNPKG

@shogun-sdk/money-legos

Version:

Shogun Money Legos: clients and types for quotes, memes, prices, balances, fees, validations, etc.

16 lines 563 B
import type { ICollectedFees } from '../services/FeeService.js'; import type { QuoteTypes } from '../types/index.js'; interface IMaxCalculateParams { balance: bigint | undefined; tokenAddress: string; chainId: number; decimals: number; fees?: ICollectedFees | undefined | null; quote?: QuoteTypes; } export declare const getMaxAmount: ({ balance, tokenAddress, chainId, decimals, fees, quote, }: IMaxCalculateParams) => { maxAmount: string | null; needRecalculateMaxValue: boolean; }; export {}; //# sourceMappingURL=token.d.ts.map