Posted on c/ElrondDevelopers 1 mwf81318617c/ElrondDevelopers 2 years ago Are you awaiting the promise anywhere or using the then method? Comment 1 Comments TGJ426205690 2years ago Hi, I've with then: this.proxy.getAccount(new Address("erd1844z................")).then( account => { console.log(account.nonce); console.log(account.balance); this.accountInfo = new AccountType(account.balance.toString(), account.nonce); }, accounterr => { console.log("Err:"+accounterr); } ); }
Hi, I've with then: this.proxy.getAccount(new Address("erd1844z................")).then( account => { console.log(account.nonce); console.log(account.balance); this.accountInfo = new AccountType(account.balance.toString(), account.nonce); }, accounterr => { console.log("Err:"+accounterr); } ); }