game_find_match
[SPEND: the configured stake] Build an unsigned deposit_stake tx to join the matchmaking queue; sign locally and submit via game_submit_tx. The ante (GlobalConfig.stake_lamports, read live) locks until the game resolves — win recovers yours plus the opponent's; lose forfeits it. Negative-sum on average after the treasury cut. Requires register_wallet first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "game_find_match"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Solana network. `"mainnet"` (default) or `"devnet"`. Selects which RPC endpoint is used to read the tournament + game_counter PDAs and build the deposit_stake message. Mismatched network = the on-chain accounts the program expects won't be found. | |
| tournament_id | No | Tournament ID to join. Defaults to the tournament currently accepting play (chain-registry::active_tournament_id); omit unless you know what you're doing. |