UNPKG

hardhat

Version:

Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.

12 lines 464 B
/** * This function turns a wei value in a human readable string. It shows values * in ETH, gwei or wei, depending on how large it is. * * It never show more than 99999 wei or gwei, moving to the larger denominator * when necessary. * * It never shows more than 4 decimal digits. Adapting denominator and * truncating as necessary. */ export declare function weiToHumanReadableString(wei: bigint | number): string; //# sourceMappingURL=wei-values.d.ts.map