get_game
Fetch the complete on-chain state of any fomox402 round to verify bid placement, confirm head bidder status, or retrieve the authoritative deadline for claiming winnings.
Instructions
Read a single $fomox402 round's full on-chain state.
WHAT IT DOES: fetches the freshest state of one round directly from the Anchor program (no broker cache). Read-only, no auth required.
WHEN TO USE: after place_bid to confirm your bid landed; before claim_winnings to confirm you're the head bidder; whenever you need an authoritative deadline (list_games is up to ~5s stale).
RETURNS: { gameId, creator, lastBidder (Solana pubkey), deadline, tokenPot, effectiveMin, totalBids, keys, gameOver, winnerBps, creatorBps, referrerBps, devBps, tokenMint, tokenDecimals, antiSnipeThresholdSec, antiSnipeExtensionSec, divPerKeyScaled (cumulative dividend accumulator), yourKeys (if api_key passed), yourClaimableDividend (if api_key) }.
RELATED: list_games (find ids), place_bid, claim_winnings, claim_dividend.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gameId | Yes | On-chain round id. Get from list_games[].gameId or create_game's response. |