GetToken
GetToken returns a grc20.Token instance for the specified tokenKey, panicking if not registered.
Parameters:
- tokenKey: GRC20 registry key
Returns a pointer to the grc20.Token instance.
Panics if the token is not registered in grc20reg.
Command
gnokey query vm/qeval -remote "https://rpc.topaz.testnets.gno.land" -data "gno.land/r/gnoswap/common.GetToken()"
Result