GetValidators
Ask AI
GetValidators returns the typed validator set
Command
gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/sys/validators/v2.GetValidators()"
Result
Package validators implements the on-chain validator set management through Proof of Contribution. The Realm exposes only a public executor for govdao proposals, that can suggest validator set changes.
GetValidators returns the typed validator set
gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/sys/validators/v2.GetValidators()"
Evaluate any read-only Gno expression against gno.land/r/sys/validators/v2, for example a function call with arguments.
// Enter an expression above