hmy_getAllValidatorInformationByBlockNumber

hmy_getAllValidatorInformationByBlockNumber

Get staking validator information snapshot for all validators by blocknum.

Parameters

  1. Number - page num default to page 1. Not possible to have all data at once.

  2. Number - block number

Returns

Array of:

  • current-epoch-signing-percent

    • current-epoch-signed - Number - epoch when last block was signed by validator

    • current-epoch-to-sign - Number - current epoch

    • percentage - Float - percentage of blocks signed

  • current-epoch-voting-power - Array of

    • effective-stake - Float - effective validator stake

    • shard-id - Number - shard id

    • voting-power-adjusted - Float - voting power adjusted

    • voting-power-raw - Float - voting power

  • validator

    • availability:

      • num-of-blocks-to-sign - Number - big.Int number of blocks validator should have signed in active mode

      • num-blocks-signed - Number - big.Int number of blocks validator actually signed

    • address - String - ECSDA validator address

    • bls-public-keys - []String - array of validator bls public keys

    • last-epoch-in-committee - Number - big.Int last epoch in committee

    • min-self-delegation - Number - big.Int min self delegation

      • max-total-delegation - Number - big.Int max total delegated to this validator

    • active - Bool - is valdiator currently active

    • rate - Float - validator current commission rate

    • max-rate - Float - max validator commission rate

    • max-change-rate - Float - max validator commission rate change

    • update-height - Number - big.Int last commission update block height

    • name - String - validator name

    • identity - String - validator text kyc identity

    • website - String - validator website

    • security-contact - String - validator security contact

    • details - String - additional info

    • creation-height - Number - big.Int block height when validator was created

    • banned - Bool - is validator banned

    • Delegations:

      • array of validator delegations, check out delegations format in hmy_getDelegationsBy...

Sample Curl Request

Sample Curl Response

Last updated

Was this helpful?