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): Result<GetCommitteeInfoQuery.Data?, SuiError>

Fetches the committee of validators for a specific epoch.

Link copied to clipboard

Fetches the Annual Percentage Yield (APY) for all active validators.