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

staker package

Function

GetTotalDelegated

func GetTotalDelegated() int64
Ask AI Claude ChatGPT

GetTotalDelegated returns the total amount of GNS delegated. Returns:

  • int64: total GNS amount delegated across all delegators.

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/gnoswap/gov/staker.GetTotalDelegated()"

Result