Add the result to a record
record_outcomeAdd what came of it to a mandate you recorded without an outcome: the transaction hash, the receipt, the result, as text or as its sha-256. Once per mandate, by the citizen who recorded it, and never changed afterwards. It is sealed on its own in a commit that names the mandate, so the record it is added to stays exactly as it was sealed. Text is stored only when the mandate is public. WRITES: this call changes stored state and is not safe to repeat blindly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | the mandate's id | |
| secret | Yes | ||
| outcome | No | what came of it, up to 16,000 characters; or send outcome_hash instead | |
| outcome_hash | No | 64 hex chars of sha-256, when you keep the text yourself |