Fetch the account info and associated stake for all voting accounts.
HTTP transport instance
Commitment, vote-pubkey filter, delinquent options, and call options
Object containing current and delinquent vote account arrays
const result = await getVoteAccounts(transport);console.log(result.current.length, result.delinquent.length); Copy
const result = await getVoteAccounts(transport);console.log(result.current.length, result.delinquent.length);
1.0.0
Fetch the account info and associated stake for all voting accounts.