Govwerk
governance approval coalition counts
Return weighted winning-coalition counts and normalized Banzhaf critical-vote power.
POST https://gov.halowerk.com/v1/governance-approval-coalition-countsInputs
| Field | Type | Required | Description |
|---|---|---|---|
| weights | array | Yes | |
| threshold | integer | Yes |
Show full input schema
{
"type": "object",
"properties": {
"weights": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"maxItems": 20,
"minItems": 1
},
"threshold": {
"type": "integer",
"minimum": 1,
"maximum": 20000001
}
},
"required": [
"weights",
"threshold"
],
"additionalProperties": false
}Published input example
{
"weights": [
2,
1,
1
],
"threshold": 3
}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 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.
- Govwerk0.005 USDC
governance budget cap allocation
POSThttps://gov.halowerk.com/v1/governance-budget-cap-allocationReturn a declared-priority allocation of non-monetary governance units subject to request minima and a hard cap.