1

Does anyone know how to retrieve validators elected for the new era ?

Thanks a lot !

2 Answers 2

2

Through the runtime call grandpaApi -> grandpaAuthorities() which queries the current state of the authority set.

Returns the authority session keys associated with grandpa, as described here.

If you want to know the validator stash accounts associated with staking, you can use:

0

Through the runtime call grandpaApi -> grandpaAuthorities() which queries the current state of the authority set.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.