Method: Hive::Broadcast.account_witness_vote
- Defined in:
- lib/hive/broadcast.rb
.account_witness_vote(options, &block) ⇒ Object
All accounts with a VFS (Vesting Fund Shares) can vote for or against any witness.
761 762 763 764 765 766 767 768 769 |
# File 'lib/hive/broadcast.rb', line 761 def self.account_witness_vote(, &block) required_fields = %i(account witness approve) params = [:params] check_required_fields(params, *required_fields) ops = [[:account_witness_vote, params]] process(.merge(ops: ops), &block) end |