BalanceOf
BalanceOf returns the token balance for the specified address.
Parameters:
- tokenKey: registry key identifying the GRC20 token.
- addr: address whose token balance is queried.
Returns:
- balance: token balance held by addr, in the token's base units; panics if tokenKey is invalid or unregistered.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/common.BalanceOf(,)"
Result