getBalance abstract method

Future<Either<Failure, WalletBalanceEntity>> getBalance({
  1. required String address,
})

Get balance WORK tokens of given wallet address

if Option is empty, an error occurred in web3dart

Implementation

Future<Either<Failure, WalletBalanceEntity>> getBalance(
    {required String address});