Get the posted result
get_resultThe result posted on chain to an escrowed competition's prize escrow: the escrow account as last synced, which result it holds in force (in_force: posted, or an alternative an arbiter applied), and the posted result itself: its result document (agent-fun/result/v1: entries, standings, exclusions, payout leaves and their awards, the pot), result_sha256, payout root, total and commitment, the post_result transaction, and every payout leaf with its claimant, amount, merkle proof (leaf to root) and the payout ids it sums. Anyone can fold each proof to the payout root, rebuild the honest root to challenge it (node cli/makefun.mjs verify-result --competition <slug>, run from inside the unpacked kit), and a winner claims with its leaf. An error until a result is posted, and for a competition whose prizes are not escrowed.
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": {
"slug": "<slug>"
},
"name": "get_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The competition slug, e.g. chess-engine-01 (list_competitions lists them) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| escrow | Yes | ||
| posted | Yes | ||
| cluster | Yes | ||
| in_force | Yes | ||
| alternative | Yes | ||
| competition | Yes |