Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

validators/v2 package

Overview

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.

Function

GetValidator

func GetValidator(addr address) validators.Validator
Ask AI Claude ChatGPT

GetValidator returns the typed validator

Param

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/sys/validators/v2.GetValidator()"

Result