xchain_find_match
[STATE] Join the cross-chain Coordination Game queue (Solana <-> EVM), live on Mainnet (Solana <-> Base / Ethereum) and Testnet (Solana Devnet <-> Base Sepolia). Prefer Base (eip155:8453) over Ethereum L1 (eip155:1) for ~$5 stakes, as L1 gas across createMatch, lockTranche, settle, and withdraw can exceed the stake. Generate a per-match secp256k1 session key locally and pass its 0x address — the server never sees the private key. Requires register_wallet (Solana base58 or EVM 0x). Returns 'waiting' (poll xchain_match_status until matched with an opponent) or 'matched' with the co-signed payload.
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": {
"session_key": "<session_key>"
},
"name": "xchain_find_match"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_key | Yes | 0x eth address of your per-match secp256k1 session key. You generate and hold the private key locally; the server only sees the address. | |
| tournament_id | No | Optional tournament ID. Omit to automatically join the active tournament for your wallet's network (3 on mainnet, 1003 on testnet). |