cast_vote
Cast a vote on a governance proposal: specify proposal ID, support (true=for, false=against), and vote amount. Requires deposited JST votes.
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 |