15 lines
565 B
TypeScript
15 lines
565 B
TypeScript
/**
|
|
* Withdrawal network fee helpers (USDT deducted from user ledger).
|
|
*/
|
|
import { SystemSettings } from '../models';
|
|
/** USDT uses 6 decimal places on TRON TRC20. */
|
|
export declare const USDT_DECIMALS = 6;
|
|
/**
|
|
* Returns the configured network fee in smallest USDT units.
|
|
*/
|
|
export declare function getWithdrawalNetworkFeeRaw(settings: SystemSettings): bigint;
|
|
/**
|
|
* Formats a raw USDT amount for display (trims trailing zeros).
|
|
*/
|
|
export declare function formatUsdtRawHuman(raw: bigint, decimals?: number): string;
|
|
//# sourceMappingURL=withdrawalFee.d.ts.map
|