@sofaws/dapp-core
Version:
A library to hold the main logic for a dapp on the Elrond Network
3 lines (2 loc) • 427 B
JavaScript
import{a}from"./chunk-UXKRFUDC.js";import{b as e}from"./chunk-44WWQAQY.js";import{a as r}from"./chunk-UB233QTH.js";import{j as n,m as c}from"./chunk-HBP5N4FR.js";c();function p(u){return n(this,null,function*(){let o=u;o==null&&(o=e(r.getState()).address);let t=yield a(o);if(t==null)throw"Could not read account, user not logged in";return t==null?void 0:t.balance})}export{p as a};
//# sourceMappingURL=chunk-QIVSXJJF.js.map