Governance

interface Governance

Governance interface

This interface represents the governance API

Inheritors

Functions

Link copied to clipboard
abstract suspend fun getCommitteeInfo(epochId: Long? = null, after: String? = null): Option<CommitteeInfo>

Get the committee info

Link copied to clipboard
abstract suspend fun getStakes(owner: AccountAddress, limit: Int? = null, cursor: String? = null): Option<Stake>

Get the stakes

Link copied to clipboard
abstract suspend fun getStakesByIds(ids: List<String>, limit: Int? = null, cursor: String? = null): Option<Stakes>

Get the stakes by IDs

Link copied to clipboard
abstract suspend fun getValidatorApy(): Option<ValidatorsApy>

Get the validator APY