validate_bet
Validate betting parameters for Solana prediction markets, including market, amount, and side, to prevent errors before transaction building.
Instructions
Validate bet parameters before building transaction.
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": {
"market": "<market>",
"amount": "<amount>",
"side": "<side>"
},
"name": "validate_bet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | Side to bet on | |
| amount | Yes | Bet amount in SOL | |
| market | Yes | Market public key |