Documentation Index
Fetch the complete documentation index at: https://dao.cafe/docs/llms.txt
Use this file to discover all available pages before exploring further.
Query Proposals
This page covers all the ways to fetch proposal data from the DAO Café GraphQL API. Endpoint:https://dao.cafe/graphql
Get All Proposals
Fetch all proposals across all DAOs, ordered by creation date.Get Proposals by State
Filter proposals by their current state.Active Proposals
Pending Proposals
Executed Proposals
Available states:
PENDING, ACTIVE, CANCELED, DEFEATED, SUCCEEDED, QUEUED, EXPIRED, EXECUTEDGet Proposals by DAO
Fetch all proposals for a specific DAO.Get Proposal by ID
Fetch a single proposal with full details.Get Proposals by Proposer
Find all proposals created by a specific address.Get Proposal with Votes
Fetch a proposal along with all votes cast.Get Proposals by Chain
Filter proposals by network.Available Proposal Fields Reference
| Field | Type | Description |
|---|---|---|
id | String | Composite ID: chainId_governor_proposalId |
daoId | String | Parent DAO ID |
chainId | Int | Network chain ID |
governor | Address | Governor contract |
proposalId | BigInt | On-chain proposal ID |
proposer | Address | Creator address |
description | String | Proposal description |
targets | [String] | Target contract addresses |
values | [String] | ETH values for calls |
calldatas | [String] | Encoded function calls |
signatures | [String] | Function signatures (optional) |
decodedActions | [JSON] | Human-readable decoded actions (see docs) |
state | Enum | Current proposal state |
forVotes | BigInt | Total FOR votes |
againstVotes | BigInt | Total AGAINST votes |
abstainVotes | BigInt | Total ABSTAIN votes |
voteStart | BigInt | Voting start timestamp |
voteEnd | BigInt | Voting end timestamp |
eta | BigInt | Execution time (when queued) |
createdAt | BigInt | Creation timestamp |
blockNumber | BigInt | Creation block |
transactionHash | Hex | Creation tx hash |