Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

gnobuilders_badges_v2 package

Function

GetUserBadges

func GetUserBadges(addr address) string
Ask AI Claude ChatGPT

GetUserBadges returns all badge token IDs for a user as comma-separated string. Uses the ownerIndex for O(1) lookup instead of full table scan.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/samcrew/gnobuilders_badges_v2.GetUserBadges()"

Result