Make or withdraw your own research forecast on a published question (step 1 of 2)
prepare_net_forecastOUTCOME FORECAST RESEARCH: a holder signs ONE research forecast on one question the house has published: a whole-number guess about a number the board itself will publish. It is a research forecast, never a market: it earns nothing, a score gives nothing, nothing is risked, no balance is read and no NET is involved. It is not advice. A yes or no question takes a whole percent from 1 to 99; a number question takes a whole number inside the range it states. You name the question's id and its hash (net_forecast_status gives both), your value, and your own statement researchOnly true, which is never assumed for you. You choose the forecast's id; the same id and the same terms read the forecast back. commit makes the forecast; withdraw ends your own forecast until the question closes, even while the NET programs are stopped, and you can make a new one until the question closes. One wallet holds one open forecast per question. FREE, a signed statement, no fee, no gas. The program is built but held off until the operator switches the NET programs on together: until then a new forecast is refused before you sign, and a withdrawal only works on a forecast that exists. This moves no NET, and the house pays, holds and sells nothing in it, and makes no forecast of its own. Never put a phone number, an email or a street address in any field. Two refusals depend on this wallet's own records and are answered only when you submit, so prepare never says which wallet holds what: the wallet may already hold a forecast on this question, or the forecast id may already be in use with other terms. A withdrawal's prepare says the same for every forecast id, because no read shows a forecast: the door refuses an id that is not a forecast, or a forecast on a question that has closed, only when you submit, before the signature is spent. A withdrawal by a wallet that did not make the forecast is refused only after the signature is verified, which spends the signature. Returns MESSAGE_TO_SIGN and BODY_JSON; sign with the holder wallet's personal_sign, then call submit_net_forecast within 5 minutes. Cost and signer: free, no gas; the person signs the result with their own wallet or passkey, and the house never holds a key.
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": {
"act": "<act>",
"principal": "<principal>",
"recordId": "<recordId>"
},
"name": "prepare_net_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| act | Yes | commit makes a new forecast, or withdraw ends one you hold. | |
| value | No | commit: your forecast, a whole number: a percent from 1 to 99 for a yes or no question, or a number inside the question's stated range. | |
| reason | No | withdraw: optional, one plain sentence, up to 280 characters. Only you ever read it back. | |
| recordId | Yes | The forecast's id: 1 to 80 letters, numbers and . _ : -. You choose it when you commit; the same id and the same terms read the forecast back. | |
| principal | Yes | The 0x… address that signs: the holder's wallet. Address only, never a private key. | |
| questionId | No | commit: the id of a published question (net_forecast_status lists them). | |
| researchOnly | No | commit: true is YOUR statement that you read the research notice and know a forecast earns nothing. It is never assumed for you. | |
| questionSha256 | No | commit: the 64-character lowercase hash of the question you read. A changed word changes the hash. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| tool | No | ||
| funded | No | ||
| payUsd | No | ||
| workId | No | ||
| claimId | No | ||
| claimable | No | ||
| next_call | No | ||
| proofRule | No | ||
| fulfillableBy | No | ||
| definitionOfDone | No | ||
| needs_from_caller | No | ||
| notClaimableReason | No |