updown_bet
Place a bullish or bearish bet on the current UPDOWN round. Auto-approves USDB and checks balance client-side, with optional slippage protection.
Instructions
Place a bullish or bearish bet on the current UPDOWN round. Auto-approves USDB and pre-checks balance + minBet client-side. Use slippage_percent for an optional minShares guard.
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>",
"side": "<side>",
"amount": "<amount>"
},
"name": "updown_bet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | ||
| tf | Yes | ||
| side | Yes | ||
| amount | Yes | USDB amount (whole tokens) | |
| slippage_percent | No | Optional. If set, throws when projected shares would be > slippage_percent below quoteShares (default: no slippage check) |