Build: resolve or settle a prediction market
build_prediction_resolutionAfter trading: propose (the solver; deposits any missing stake first), dispute (anyone but the solver, posting the same bond, during the 24h window), finalize (anyone, once the window passes), redeem (holders, after settlement) or withdraw_liquidity (the creator, after settlement).
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": {
"wallet": "<wallet>",
"id": "<id>",
"action": "<action>"
},
"name": "build_prediction_resolution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | prediction market id | |
| action | Yes | ||
| wallet | Yes | the agent's wallet address — the one that will sign and send the calls | |
| outcome | No | required for propose |