Skip to main content

suix_getLatestSuiSystemState

Returns the latest system state of the Sui network, including validator information, staking pools, and system parameters.

Overview​

The suix_getLatestSuiSystemState method provides comprehensive information about the current state of the Sui network. This includes detailed validator information, staking pools, system parameters, governance settings, and network configuration. This method is essential for applications that need to understand the complete network state, build staking interfaces, or analyze network governance and validator performance.

Parameters​

This method takes no parameters.

Returns​

Returns a comprehensive system state object containing all network information.

FieldTypeDescription
epochstringCurrent epoch number
protocolVersionstringCurrent protocol version
systemStateVersionstringSystem state schema version
storageFundTotalObjectStorageRebatesstringTotal storage fund rebates
storageFundNonRefundableBalancestringNon-refundable storage fund balance
referenceGasPricestringCurrent reference gas price
safeModebooleanWhether the network is in safe mode
safeModeStorageRewardsstringStorage rewards in safe mode
safeModeComputationRewardsstringComputation rewards in safe mode
safeModeStorageRebatesstringStorage rebates in safe mode
safeModeNonRefundableStorageFeestringNon-refundable storage fee in safe mode
epochStartTimestampMsstringEpoch start timestamp in milliseconds
epochDurationMsstringEpoch duration in milliseconds
stakeSubsidyBalancestringCurrent stake subsidy balance
stakeSubsidyDistributionCounterstringStake subsidy distribution counter
stakeSubsidyCurrentDistributionAmountstringCurrent distribution amount
stakeSubsidyPeriodLengthstringStake subsidy period length
stakeSubsidyDecreaseRatenumberRate of subsidy decrease
totalStakestringTotal stake in the network
activeValidatorsarrayArray of active validator objects
pendingActiveValidatorsIdstringID of pending active validators object
pendingActiveValidatorsSizestringSize of pending active validators
pendingRemovalsarrayArray of validators pending removal
stakingPoolMappingsIdstringID of staking pool mappings object
stakingPoolMappingsSizestringSize of staking pool mappings
inactivePoolsIdstringID of inactive pools object
inactivePoolsSizestringSize of inactive pools
validatorCandidatesIdstringID of validator candidates object
validatorCandidatesSizestringSize of validator candidates

Active Validator Object Structure​

Each validator in the activeValidators array contains:

FieldTypeDescription
suiAddressstringValidator's Sui address
protocolPubkeyBytesstringProtocol public key bytes
networkPubkeyBytesstringNetwork public key bytes
workerPubkeyBytesstringWorker public key bytes
proofOfPossessionBytesstringProof of possession bytes
namestringValidator name
descriptionstringValidator description
imageUrlstringValidator image URL
projectUrlstringValidator project URL
networkAddressstringNetwork address
p2pAddressstringP2P address
primaryAddressstringPrimary address
workerAddressstringWorker address
nextEpochProtocolPubkeyBytesstringNext epoch protocol pubkey
nextEpochProofOfPossessionstringNext epoch proof of possession
nextEpochNetworkPubkeyBytesstringNext epoch network pubkey
nextEpochWorkerPubkeyBytesstringNext epoch worker pubkey
nextEpochNetworkAddressstringNext epoch network address
nextEpochP2pAddressstringNext epoch P2P address
nextEpochPrimaryAddressstringNext epoch primary address
nextEpochWorkerAddressstringNext epoch worker address
votingPowerstringValidator's voting power
operationCapIdstringOperation capability ID
gasPricestringValidator's gas price
commissionRatestringCommission rate (in basis points)
nextEpochStakestringStake for next epoch
nextEpochGasPricestringGas price for next epoch
nextEpochCommissionRatestringCommission rate for next epoch
stakingPoolIdstringAssociated staking pool ID
stakingPoolActivationEpochstringWhen staking pool was activated
stakingPoolDeactivationEpochstringWhen staking pool will deactivate (if applicable)
stakingPoolSuiBalancestringSUI balance in staking pool
rewardsPoolstringRewards pool balance
poolTokenBalancestringPool token balance
pendingStakestringPending stake amount
pendingPoolTokenWithdrawstringPending pool token withdrawals
pendingTotalSuiWithdrawstringPending SUI withdrawals
exchangeRatesIdstringExchange rates object ID
exchangeRatesSizestringExchange rates object size

Code Examples​

# Get latest system state
curl -X POST https://sui-mainnet.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "suix_getLatestSuiSystemState",
"params": [],
"id": 1
}'