Skip to main content

avatar

Fetches a single avatar by id. Requires a valid game token. Owner-aware: the owner receives full state; non-owners receive a public copy with privateState stripped (null). Throws NotFound if the id does not exist. State blobs are base64-encoded binary.

avatar(
id: BigInt!
): Avatar!

Arguments

avatar.id ● BigInt! non-null scalar

Avatar id (BigInt as a decimal string).

Type

Avatar object