fetchBalance method
- required String address,
Fetch Balance
Implementation
Future<Amount> fetchBalance({
required String address,
}) async {
final balance = await performTask((client) => client.getBalance(address));
return Amount(
value: balance,
decimals: type.coin.decimals,
);
}