ethers.js/packages/math/lib/units.d.ts

6 lines
396 B
TypeScript
Raw Permalink Normal View History

2022-04-14 04:51:35 -04:00
import { BigNumberish, Numeric } from "@ethersproject/logger";
export declare function formatUnits(value: BigNumberish, unit?: string | Numeric): string;
export declare function parseUnits(value: string, unit?: string | Numeric): bigint;
export declare function formatEther(wei: BigNumberish): string;
export declare function parseEther(ether: string): bigint;
//# sourceMappingURL=units.d.ts.map