BalanceOf
Ask AI
BalanceOf returns `owner`'s balance of `symbol`.
Command
gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/nym-moultest123/x/grc20faucet/v0.BalanceOf(,)"
Result
Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.
Package grc20faucet issues two free GRC20 tokens, RED and BLUE, and gives them away on request.
It exists so that anything needing a token to experiment on has one that is worthless, unlimited and shared. Both tokens are registered in gno.land/r/nt/grc20reg/v0, which is what lets another realm find and move them by key without importing this package: that indirection is the whole point, and it is what gno.land/r/nym-moultest123/x/grc20wrapdemo/v0 wraps.
Two tokens rather than one, because the interesting patterns start at two: a meta-token over a pair needs a pair.
BalanceOf returns `owner`'s balance of `symbol`.
gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/nym-moultest123/x/grc20faucet/v0.BalanceOf(,)"