I need something help.. I'm trying to make an async request but the response is a Promise { <pending> }
This is my code
const getBalance = async (adress) => {
try {
let wei = await web3.eth.getBalance(address);
} catch (err) {
console.error(err);
}
};
let balanceWallet = getBalance(address);
console.log(balanceWallet);
So when I run my code to debug it returns Promise { <pending> }
I don't know what's wrong in my code