Governance
The concrete implementation of the Governance interface.
Parameters
config
The SuiConfig object specifying the RPC endpoint and connection settings.
Functions
Link copied to clipboard
open suspend override fun getCommitteeInfo(epochId: Long?, after: String?): Result<GetCommitteeInfoQuery.Data?, SuiError>
Fetches the committee of validators for a specific epoch.
Link copied to clipboard
Link copied to clipboard
Fetches the Annual Percentage Yield (APY) for all active validators.