Governance
interface Governance
Defines the API for interacting with Sui's on-chain governance, including validators, committees, and staking.
Inheritors
Functions
Link copied to clipboard
abstract suspend fun getCommitteeInfo(epochId: Long? = null, after: String? = null): <Error class: unknown class><GetCommitteeInfoQuery.Data?, <Error class: unknown class>>
Fetches the committee of validators for a specific epoch.
Link copied to clipboard
abstract suspend fun getValidatorApy(): <Error class: unknown class><GetValidatorsApyQuery.Data?, <Error class: unknown class>>
Fetches the Annual Percentage Yield (APY) for all active validators.