UNPKG

@sofaws/dapp-core

Version:

A library to hold the main logic for a dapp on the Elrond Network

3 lines (2 loc) 276 B
import{m as r}from"./chunk-HBP5N4FR.js";r();import t from"bignumber.js";var s=e=>{let n=new t(e.gasPrice),o=new t(e.gasUsed);return n.times(o).toString()};function f(e){return e.fee?e.fee:e.gasUsed===void 0?null:s(e)}export{f as a}; //# sourceMappingURL=chunk-7LG3PXXW.js.map