Method: Hive::Broadcast.transfer_to_vesting
- Defined in:
- lib/hive/broadcast.rb
.transfer_to_vesting(options, &block) ⇒ Object
313 314 315 316 317 318 319 320 321 322 323 |
# File 'lib/hive/broadcast.rb', line 313 def self.transfer_to_vesting(, &block) required_fields = %i(from to amount) params = [:params] check_required_fields(params, *required_fields) params[:amount] = normalize_amount(.merge amount: params[:amount]) ops = [[:transfer_to_vesting, params]] process(.merge(ops: ops), &block) end |