sbch_validatorsInfo
Returns the validators info.
Parameters: N/A
Returns: a validator info object:
genesisMainnetBlockHeight:
QUANTITY
- The BCH mainnet height when smartbch chain mint genesis block.currEpochNum:
QUANTITY
- The epoch number of current epoch.validators:
Array
- Array of validator object, which mean validators created by callstakingContract.createValidator
method.validatorsUpdate:
Array
- Array of validator object, which mean validators whose voting power updated when epoch switch.pendingRewards:
Array
- Array of pending rewards object, which mean validator pending rewards.minGasPrice:
QUANTITY
- The minimum gas price decided in current block.lastMinGasPrice:
QUANTITY
- The minimum gas price used in current block.currValidators:
Array
- Array of validator object, which mean validators who on duty in current epoch.
And the validator
object has fields:
address:
DATA
, 20 Bytes - Address of the validator.pubkey:
DATA
, 32 Bytes - Consensus pubkey of the validator.reward_to:
DATA
, 20 Bytes - Address to receive block mint rewards.voting_power:
QUANTITY
- The minimum gas price decided in current block.introduction:
String
- The introduction of validator.staked_coins
DATA
, 32 Bytes - Staked coins of the validator.is_retiring:
Boolean
- Indicate whether validator is retired.
Last updated