Coding task · Blockchain and Web3 course · Module 3: Ethereum & EVM

Checking an Account Balance

Use ethers.js to check an Ethereum account balance

Task

Create a getBalance(address) function that uses a provider to fetch the balance and convert it from Wei to Ether