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

xgns package

Overview

Package xgns implements the GRC20-compliant xGNS token that represents staked GNS tokens. It manages minting/burning operations and tracks voting power for governance.

Function

TotalSupply

func TotalSupply() int64

TotalSupply returns the total supply of xGNS tokens.

Command

gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/gnoswap/gov/xgns.TotalSupply()"

Result