getVoteAccounts - Solana
Example code for the getVoteAccounts json-rpc method. Сomplete guide on how to use getVoteAccounts json-rpc in GetBlock.io Web3 documentation.
Parameters
config
- object
Optional
Configuration object containing the following field: - commitment (optional) - votePubkey: string (optional) - Only return results for this validator vote address (base-58 encoded) - keepUnstakedDelinquents: bool (optional) - Do not filter out delinquent validators with no stake - delinquentSlotDistance: u64 (optional) - Specify the number of slots behind the tip that a validator must fall to be considered delinquent. NOTE: For the sake of consistency between ecosystem products, it is not recommended that this argument be specified.
Request
Response
Last updated