Skip to main content

Query Votes & Voting Power

This page covers how to fetch vote data and check voting power from the DAO Café GraphQL API. Endpoint: https://dao.cafe/graphql

Get Votes by Proposal

Fetch all votes cast on a specific proposal.

Get Votes by Voter

Find all votes cast by a specific address across all proposals.

Get Votes by Support Type

Filter votes by how they voted.

FOR Votes

AGAINST Votes

ABSTAIN Votes

Support types: FOR, AGAINST, ABSTAIN

Check Voting Power

Query token holders to check voting power for a specific address.

Get Voting Power for Address

The votes field represents the actual voting power (may differ from balance due to delegation).

Get Top Voters by Voting Power

Find the addresses with the most voting power in a DAO.

Get Top Token Holders by Balance

Find the addresses with the most tokens (may differ from voting power).

Get All Token Holders with Voting Power

Find all addresses that have voting power > 0.

Available Vote Fields Reference

Available Token Holder Fields Reference