amIGameHost
Convenience for UI: returns true when the authenticated caller is the currently elected host for the given app (same election as gameHost), otherwise false (including when no host is elected). Not authoritative for server-side mutations — use gameModelInvoke's is_host policy for that. Requires a valid bearer game token (same auth as gameHost).
amIGameHost(
appId: BigInt!
): Boolean!
Arguments
amIGameHost.appId ● BigInt! non-null scalar
The app (game) to check host election for, as a BigInt decimal string. Same scope as gameHost.
Type
Boolean scalar
The Boolean scalar type represents true or false.