Govwerk
governance rule amendment diff
Find a minimal integer tally where two declared quorum/approval rules differ inside a bounded electorate domain.
POST https://gov.halowerk.com/v1/governance-rule-amendment-diffInputs
| Field | Type | Required | Description |
|---|---|---|---|
| before | Reference | Yes | |
| after | Reference | Yes | |
| max_eligible | integer | Yes |
Show full input schema
{
"type": "object",
"properties": {
"before": {
"$ref": "#/$defs/s0"
},
"after": {
"$ref": "#/$defs/s0"
},
"max_eligible": {
"type": "integer",
"minimum": 1,
"maximum": 30
}
},
"required": [
"before",
"after",
"max_eligible"
],
"additionalProperties": false,
"$id": "urn:h:w3:J9:input",
"$defs": {
"s0": {
"type": "object",
"properties": {
"quorum_fraction": {
"$ref": "#/$defs/s1"
},
"approval_fraction": {
"$ref": "#/$defs/s1"
},
"abstain_counts": {
"type": "boolean"
},
"approval_inclusive": {
"type": "boolean"
}
},
"required": [
"quorum_fraction",
"approval_fraction",
"abstain_counts",
"approval_inclusive"
],
"additionalProperties": false
},
"s1": {
"type": "number",
"minimum": 0,
"maximum": 1
}
}
}Published input example
{
"before": {
"quorum_fraction": 0.5,
"approval_fraction": 0.5,
"abstain_counts": true,
"approval_inclusive": true
},
"after": {
"quorum_fraction": 0.5,
"approval_fraction": 0.75,
"abstain_counts": true,
"approval_inclusive": true
},
"max_eligible": 10
}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.