GetVoteAccountsApi
Methods
getVoteAccounts()
Returns the account info and associated stake for all the voting accounts in the current bank.
Type Parameters
| Type Parameter |
|---|
TVoteAccount extends Address |
Parameters
| Parameter | Type |
|---|---|
config? | Readonly<{ commitment?: Commitment; delinquentSlotDistance?: bigint; keepUnstakedDelinquents?: boolean; votePubkey?: TVoteAddress; }> |
Returns
GetVoteAccountsApiResponse<TVoteAccount>