Search Apps Documentation Source Content File Folder Download Copy Actions Download

tokenhub package

Function

GetUserTokenBalancesNonZero

func GetUserTokenBalancesNonZero(userNameOrAddress string) string
Execute

GetUserTokenBalancesNonZero returns a string of all the grc20 tokens the user owns, but only the ones that have a balance greater than 0

Param

Command

gnokey query vm/qeval -remote "https://rpc.test10.testnets.gno.land" -data "gno.land/r/matijamarjanovic/tokenhub.GetUserTokenBalancesNonZero()"

Result