Zum Inhalt
HALOWERK

Identwerk

dao snapshot

Reads a Snapshot space and returns what a voter or an observer needs to act. Per proposal: the choices with their scores and share, total voting power cast, the leading option, the number of voters, the quorum and whether it is met, when voting closes and how much time is left. Scores are marked final or pending — Snapshot computes them asynchronously, and a pending score can still move, so a result read too early is not a result.

POST https://ident.halowerk.com/v1/dao-snapshot

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
spacestringJaSnapshot space id, e.g. ens.eth, aavedao.eth, uniswapgovernance.eth.
statestringNeinWhich proposals to return.
limitintegerNeinHow many proposals.
body_charsintegerNeinHow much of each proposal body to include.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "space"
  ],
  "additionalProperties": false,
  "properties": {
    "space": {
      "type": "string",
      "maxLength": 128,
      "description": "Snapshot space id, e.g. ens.eth, aavedao.eth, uniswapgovernance.eth."
    },
    "state": {
      "type": "string",
      "enum": [
        "active",
        "closed",
        "pending",
        "all"
      ],
      "default": "active",
      "description": "Which proposals to return."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "default": 5,
      "description": "How many proposals."
    },
    "body_chars": {
      "type": "integer",
      "minimum": 0,
      "maximum": 4000,
      "default": 400,
      "description": "How much of each proposal body to include."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "space": "beispiel",
  "state": "active",
  "limit": 5,
  "body_chars": 400
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →