TotalSupply
TotalSupply returns the total supply of the specified token.
Parameters:
- tokenKey: registry key identifying the GRC20 token.
Returns:
- totalSupply: current token supply for tokenKey, in the token's base units; panics if tokenKey is invalid or unregistered.
Command
gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/gnoswap/common.TotalSupply()"
Result