Validators & Consensus
Active set, staking, delegation, slashing, and epoch info.
26 methods · verified against the live mainnet RPC at https://rpc.sumchain.io.
get_validatorsActive validator set with current proposer.
{"jsonrpc":"2.0","method":"get_validators","params":[],"id":1}{
"jsonrpc": "2.0",
"result": {
"validators": [
{
"public_key": "GW1pJKzqDmmHczMGz5g7CV51RgDuR6kKw76yZ1cVbEv8",
"address": "8zZ1pfbpUcAmoByWKYgJgiFZWpmhWQKJ4",
"is_current_proposer": true
},
{
"public_key": "7jUZxm5rJ5PazGYkrtJ4sUJj7ztib2VHEoM2Yc4Liydy",
"address": "D7Ls8H7Y2jCqYEEUUxWUcgQkF9cKhHxjV",
"is_current_proposer": false
}
]
},
"id": 1
}sum_getValidatorssum_-prefixed alias.
staking_getValidatorValidator by pubkey.
staking_getValidatorByAddressValidator by address.
staking_getValidatorsAll validators.
staking_getActiveValidatorsActive set only.
staking_getSummaryAggregate stats.
staking_getParamsStaking parameters.
staking_getTotalStakeSum of all stake.
staking_buildTransactionBuild an unsigned staking/validator transaction (create-validator, delegate, unstake, claim-rewards, submit-evidence, etc.), returns unsigned tx material + signing hash; no private keys.
delegation_getDelegationSingle delegation lookup.
delegation_getDelegationsByDelegatorDelegations made by an address.
delegation_getDelegationsByValidatorDelegations to a validator.
delegation_getDelegatorSummaryAggregate per delegator.
delegation_getUnbondingDelegationsPending unbondings.
delegation_getValidatorDelegationSummaryAggregate per validator.
slashing_getRecordsHistorical slashing records.
slashing_getRecentRecordsRecent records.
slashing_getSigningInfoPer-validator missed-block tracking.
slashing_getAllSigningInfoAll validators.
slashing_getSummaryAggregate stats.
slashing_isTombstonedPermanent-jail check.
epoch_getInfoCurrent epoch metadata.
{"jsonrpc":"2.0","method":"epoch_getInfo","params":[],"id":1}{
"jsonrpc": "2.0",
"result": {
"current_epoch": 333,
"current_height": 4807057,
"epoch_length": 14400,
"epoch_start_height": 4795200,
"epoch_end_height": 4809599,
"blocks_remaining": 2542,
"stake_weighted_selection": true
},
"id": 1
}validatorSet_getCurrentActive validator set.
validatorSet_getByEpochSet for a specific epoch.
validatorSet_getProposerProposer at a given height.