New answers tagged

0

If you have used async, then you need to add await as well: const getBalance = async () => { const balance = web3.utils.fromWei( await web3.eth.getBalance(address), "ether" );


Top 50 recent answers are included