Govwerk
governance vote commitment check
Verify a domain-separated SHA-256 vote commitment with length-prefixed poll and choice fields.
POST https://gov.halowerk.com/v1/governance-vote-commitment-checkInputs
| Field | Type | Required | Description |
|---|---|---|---|
| poll | string | Yes | |
| choice | string | Yes | |
| salt_hex | string | Yes | |
| commitment_hex | string | Yes |
Show full input schema
{
"type": "object",
"properties": {
"poll": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"choice": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"salt_hex": {
"type": "string",
"pattern": "^[0-9a-fA-F]{64}$"
},
"commitment_hex": {
"type": "string",
"pattern": "^[0-9a-fA-F]{64}$"
}
},
"required": [
"poll",
"choice",
"salt_hex",
"commitment_hex"
],
"additionalProperties": false
}Published input example
{
"poll": "solar-maintenance-202611",
"choice": "approve",
"salt_hex": "692d0ed743e0081413b9b9820aa5a097693efd50324bd1ab3fde4ec947f084e8",
"commitment_hex": "2d8e2be262a6f27ec656dc3833fa8ea55b8a2764947d9b676a0f543e29aef513"
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.
More endpoints in this hub
- Govwerk0.003 USDC
delegate alignment
POSThttps://gov.halowerk.com/v1/delegate-alignmentJoins caller-supplied vote vectors by proposal ID, encodes against/abstain/for as -1/0/1, and computes weighted cosine similarity plus exact agreement. It describes only supplied overlapping votes and does not infer ideology or future behav
- Govwerk0.005 USDC
governance approval coalition counts
POSThttps://gov.halowerk.com/v1/governance-approval-coalition-countsReturn weighted winning-coalition counts and normalized Banzhaf critical-vote power.
- Govwerk0.005 USDC
governance ballot weight snapshot
POSThttps://gov.halowerk.com/v1/governance-ballot-weight-snapshotReplay supplied governance-unit transfers up to a snapshot and return weighted ballot totals.