Get balance for all wallets
In this example, we will get the balance for each connect wallet.
For each wallet, we will get the provider with rpcProvider
, to fetch the
balance by calling the getBalance
with the wallet address.
Was this page helpful?