Skip to main content

userAvatars

Lists the avatars owned by userId. Requires a valid game token. Owner-aware: when the caller is NOT the owner, each avatar’s privateState is stripped (returned null); publicState is always included. State blobs are base64-encoded binary.

userAvatars(
userId: BigInt!
): [Avatar!]!

Arguments​

userAvatars.userId ● BigInt! non-null scalar​

Owner user id whose avatars to list (BigInt as a decimal string).

Type​

Avatar object​