Govwerk
governance delegation cycle witnesses
Resolve declared voting-weight delegation with direct-vote overrides, stranded weights and cycle witnesses.
POST https://gov.halowerk.com/v1/governance-delegation-cycle-witnessesInputs
| Field | Type | Required | Description |
|---|---|---|---|
| voters | array | Yes |
Show full input schema
{
"type": "object",
"properties": {
"voters": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"weight": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000000
},
"delegate": {
"type": [
"string",
"null"
],
"maxLength": 64
},
"cast": {
"type": "boolean"
}
},
"required": [
"id",
"weight",
"delegate",
"cast"
],
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1
}
},
"required": [
"voters"
],
"additionalProperties": false
}Published input example
{
"voters": [
{
"id": "operations",
"weight": 10,
"delegate": "treasury",
"cast": false
},
{
"id": "treasury",
"weight": 5,
"delegate": null,
"cast": true
}
]
}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.