updown_get_round
Retrieve a specific UPDOWN round by ID or the current round. Returns round details including start/end prices, pools, shares, seed bonus, and outcome status (Pending, BullWins, BearWins, Canceled).
Instructions
Get a specific UPDOWN round by id — or omit round_id to get the current round. Returns the full Round struct (startPrice/endPrice in 8-dec, pools/shares/seedBonus in 18-dec USDB, outcome enum 0=Pending,1=BullWins,2=BearWins,3=Canceled). Returns null if no rounds opened yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | ||
| tf | Yes | Timeframe enum: 0=5m,1=15m,2=1h,3=4h,4=24h | |
| round_id | No | Optional — defaults to currentRoundId(tf) |