Skip to content
HALOWERK

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

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
votersarrayYes
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
}

Open original schema

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

All endpoints in this hub โ†’