getBalance method
Returns the balance of the account of provided pubkey
Implementation
Future<u64> getBalance(
final Pubkey pubkey, {
final GetBalanceConfig? config,
}) async =>
(await getBalanceRaw(pubkey, config: config)).result!.value!;
Returns the balance of the account of provided pubkey
Future<u64> getBalance(
final Pubkey pubkey, {
final GetBalanceConfig? config,
}) async =>
(await getBalanceRaw(pubkey, config: config)).result!.value!;