solana_program::epoch_stake

Function get_epoch_stake_for_vote_account

Source
pub fn get_epoch_stake_for_vote_account(vote_address: &Pubkey) -> u64
Expand description

Get the current epoch stake for a given vote address.

If the provided vote address corresponds to an account that is not a vote account or does not exist, returns 0 for active stake.