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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"asset": "<asset>",
"tf": "<tf>"
},
"name": "updown_get_round"
}
}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) |