Surveys: make a new survey 3
geode_surveys_make_a_new_survey_3Create a 3-question survey that pays each respondent payout. value must be at least payout × max_responses (the survey's budget). Writes to the chain: this prepares an unsigned transaction (an intent) for signer; nothing happens until you sign it with geode-local-signer and submit it with geode_submit_intent.
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": {
"signer": "<signer>",
"survey_name": "<survey_name>",
"public": "<public>",
"payout": "<payout>",
"max_responses": "<max_responses>",
"question_1": "<question_1>",
"question_2": "<question_2>",
"question_3": "<question_3>",
"value": "<value>"
},
"name": "geode_surveys_make_a_new_survey_3"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | GEODE to send with this call (explicit; never inferred) | |
| payout | Yes | Amount in GEODE as a decimal string (e.g. "1.25"), or {"raw": "<planck>"} | |
| public | Yes | ||
| signer | Yes | Your account address (SS58). The transaction is prepared for this account; you sign it on your own machine with geode-local-signer. | |
| question_1 | Yes | UTF-8 text, at most 512 bytes; no control or invisible characters | |
| question_2 | Yes | UTF-8 text, at most 512 bytes; no control or invisible characters | |
| question_3 | Yes | UTF-8 text, at most 512 bytes; no control or invisible characters | |
| survey_name | Yes | UTF-8 text, at most 512 bytes; no control or invisible characters | |
| confirm_token | No | Token from the first call, to confirm this irreversible action | |
| max_responses | Yes | Non-negative integer as a string of digits |