Skip to main content

avatarAppState

Reads one avatar’s per-app state (keyed by appId+avatarId). PUBLIC READ: any authenticated user may read it. Requires a valid game token. Returns null when no row exists. state is base64-encoded binary.

avatarAppState(
appId: BigInt!
avatarId: BigInt!
): AppAvatarState

Arguments

avatarAppState.appId ● BigInt! non-null scalar

App (game) id the state is scoped to (BigInt as a decimal string).

avatarAppState.avatarId ● BigInt! non-null scalar

Avatar id whose per-app state to read (BigInt as a decimal string).

Type

AppAvatarState object