Read live Governor state for a proposal
governor_proposal_stateReads a Governor proposal's on-chain state, the Safe's voting status and power, quorum, and tally before casting a vote; no API key required.
Instructions
Reads the Governor contract directly: the proposal's state, whether the Safe has already voted, the Safe's voting power at the proposal's snapshot, the quorum and the running tally. Needs no API key. Call this before voting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decimals | No | Governance token decimals, for readable vote weights | |
| governor | Yes | Governor contract address | |
| proposalId | Yes | On-chain proposal id (decimal or 0x hex) |