cast_vote
Vote for or against a governance proposal by providing the proposal ID, support (true for FOR, false for AGAINST), and vote amount. Requires available votes; deposit JST first if needed.
Instructions
Cast a vote on a governance proposal. You must have available votes (deposit JST first if needed). Support: true = vote FOR, false = vote AGAINST. You can add more votes to a proposal you already voted on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| votes | Yes | Amount of votes to cast (e.g. '1000') | |
| network | No | Network. Default: mainnet | |
| support | Yes | true = vote FOR the proposal, false = vote AGAINST | |
| proposalId | Yes | The proposal ID to vote on |