Vote (governance)
saihm_governance_voteCast a vote on a governance proposal by its ID, choosing approve or reject. Voting weight uses tokens held at the proposal snapshot, not current balance, so act before the snapshot or note the weight difference.
Instructions
Cast a vote on an open protocol governance proposal by its proposalId, with approve set to true to approve or false to reject. Protocol governance is not enabled by default. The call is forwarded to the operator endpoint you configured, so expect an error rather than a recorded vote unless that operator has turned governance on. Where it is enabled, vote weight derives from the governance-token balance held at the proposal snapshot epoch, not the balance at the time of voting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approve | Yes | true = approve, false = reject | |
| proposalId | Yes | Hex proposalId returned by saihm_governance_propose |