Method: Hive::Broadcast.withdraw_vesting
- Defined in:
- lib/hive/broadcast.rb
.withdraw_vesting(options, &block) ⇒ Object
339 340 341 342 343 344 345 346 347 348 349 |
# File 'lib/hive/broadcast.rb', line 339 def self.withdraw_vesting(, &block) required_fields = %i(account vesting_shares) params = [:params] check_required_fields(params, *required_fields) params[:vesting_shares] = normalize_amount(.merge amount: params[:vesting_shares]) ops = [[:withdraw_vesting, params]] process(.merge(ops: ops), &block) end |