getVoteAccounts method
Returns the account info and associated stake for all the voting accounts in the current bank.
Implementation
Future<VoteAccountStatus> getVoteAccounts({
final GetVoteAccountsConfig? config,
}) async =>
(await getVoteAccountsRaw(config: config)).result!;