Skip to main content
The GovernanceApi provides methods for querying staking information, validator details, and network governance state. All methods are in the suix namespace.

Methods

getStakesByIds

Returns one or more DelegatedStake objects by their IDs. If a stake was withdrawn, its status will be Unstaked.
ObjectID[]
required
Array of StakedSui object IDs
DelegatedStake[]
Array of delegated stake information

getStakes

Returns all DelegatedStake objects for a given address.
SuiAddress
required
The owner’s Sui address
DelegatedStake[]
Array of all delegated stakes for the address

getCommitteeInfo

Returns the committee information for the specified epoch.
BigInt<u64>
The epoch of interest. If None, defaults to the latest epoch
SuiCommittee
Committee information

getLatestSuiSystemState

Returns the latest SUI system state object on-chain.
SuiSystemStateSummary
System state summary

getReferenceGasPrice

Returns the reference gas price for the network.
BigInt<u64>
Reference gas price in MIST

getValidatorsApy

Returns the validator APY (Annual Percentage Yield) information.
ValidatorApys
Validator APY information

Usage Example with Rust SDK