UNPKG

@bloxbean/yaci-viewer

Version:

A Cardano blockchain data viewer for developers. It works with the Yaci-Store backend, supporting both a local devnet and public networks.

12 lines (10 loc) 270 B
function lovelaceToAda(num, decimalPlaces) { if (!decimalPlaces) return num / Math.pow(10, 6); else { let ada = num / Math.pow(10, 6); return ada.toFixed(decimalPlaces); } } export { lovelaceToAda as l }; //# sourceMappingURL=ada_util-BMIfqJSl.js.map