Inbox & rewards
The single audited path that grants currency, items, and stat rewards — exactly once.
Every reward in Triggair — a purchase, a loot drop, an achievement, a daily/quest/tournament payout, a developer gift, a promo code — is delivered as an INBOX item and granted only when the player claims it. Nothing else mutates a wallet or inventory.
Why one path
Claiming is idempotent per item, so a network retry can't double-grant. Because there is exactly one grant path, every currency/item change is auditable and can't be forged by the client. Reward types are currency, items, or stat increments.
const items = await tg.inbox.list();
for (const it of items) {
if (it.claimable) await tg.inbox.claim(it.id);
else await tg.inbox.read(it.id);
} Sending to players
Developers/operators send inbox messages (announcements, make-goods, event rewards) to an audience via the dashboard or the dev API — optionally carrying a reward, which flows through the same claim path.