Skip to content
HALOWERK

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-check

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
pollstringYes
choicestringYes
salt_hexstringYes
commitment_hexstringYes
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
}

Open original schema

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

All endpoints in this hub โ†’