solana_program

Module epoch_stake

Source
Expand description

API for retrieving epoch stake information.

On-chain programs can use this API to retrieve the total stake for the current epoch or the stake for a specific vote account using the sol_get_epoch_stake syscall.

Functions§