consensus-tools votes

Cast and list votes for a job.

Usage

consensus-tools votes cast <jobId> [--submission <id> | --choice <key>] [--yes|--no] [--weight <n>] [--stake <n>] [--json]
consensus-tools votes list <jobId> [--json]

Examples

# Vote for a specific submission
consensus-tools votes cast job_123 --submission sub_9 --weight 1 --json

# Choice-key vote
consensus-tools votes cast job_456 --choice approve --yes --json

# Inspect votes
consensus-tools votes list job_123 --json

Notes

  • Use --submission for submission-targeted voting.
  • Use --choice for choice-key voting flows.
  • --json is recommended for automation.