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

launchpad package

Function

GetTotalGNSStakedAmount

func GetTotalGNSStakedAmount() int64
Ask AI Claude ChatGPT

GetTotalGNSStakedAmount returns the total amount of GNS currently staked across all launchpad deposits.

Returns:

  • amount: total GNS principal currently staked across launchpad deposits, in base units.

Command

gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/gnoswap/launchpad.GetTotalGNSStakedAmount()"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/gnoswap/launchpad, for example a function call with arguments.