API integrationToken features
voting-power
API reference for the DALP voting-power token feature, which exposes delegation and snapshot-based governance weights paired with historical-balances.
The voting-power token feature exposes delegation and snapshot-based voting weights. It attaches without operator input on equity, fund, and real-estate templates and composes with historical-balances for snapshot reads.
For the operator how-to, see Voting power how-to. For the architecture model, see Voting power architecture.
Configuration
No featureConfigs entry required. The feature is self-contained.
Reading voting weights
| Endpoint | Returns |
|---|---|
GET /api/v2/token/{address}/voting-power/{holder} | Current voting weight for a holder, including any delegated weight. |
GET /api/v2/token/{address}/voting-power/{holder}?block={n} | Voting weight at a snapshot block. |
GET /api/v2/token/{address}/voting-power/snapshot?block={n} | Snapshot weights for every holder at a block. |
Delegation
POST /api/v2/token/{address}/voting-power/delegate
{
"to": "0x..."
}Delegations are per-holder per-token. A new delegation overrides the previous one. Use the holder's authenticated wallet for the request.
Related
- Historical balances — required companion feature.
- Voting power architecture