Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

LeaderboardResult

A board as a page reads it.

Property Type Description
builtAt number | null When its rows were read, in epoch milliseconds, for “updated 2 min ago”; null before the first answer.
isLoading boolean -
isTrusted boolean Whether rooms write it, so its scores are the game’s and not the page’s claims.
next { cursor: string | null; rank: number; } | null Where the next deep page of the top starts, which from takes; null at the end and for other views.
period LeaderboardPeriod | null The period it reads; null before the first answer and where it names none.
reason LeaderboardReadRefusal | null -
rows LeaderboardRow[] -