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

createAwardId

createAwardId(handle, awardIdOptions): string

The deposit id of a prize for one subject of one period of a board: award:<board>:<hash>, at most 102 characters, the same in every room for the same handle, period, prize and player. Award only from a fetch whose period is final, by its frozen ranks, within 90 days of the close, while the platform keeps the deposit rows that make a repeat land once.

Parameter Type
handle LeaderboardHandle
awardIdOptions AwardIdOptions

string

const id = createAwardId(sunsetLoop, { period: "2026-W41", prize: "first", playerId });