Method: Hive::Broadcast.set_withdraw_vesting_route
- Defined in:
- lib/hive/broadcast.rb
.set_withdraw_vesting_route(options, &block) ⇒ Object
Allows an account to setup a vesting withdraw but with the additional request for the funds to be transferred directly to another account’s balance rather than the withdrawing account.
876 877 878 879 880 881 882 883 884 |
# File 'lib/hive/broadcast.rb', line 876 def self.set_withdraw_vesting_route(, &block) required_fields = %i(from_account to_account percent auto_vest) params = [:params] check_required_fields(params, *required_fields) ops = [[:set_withdraw_vesting_route, params]] process(.merge(ops: ops), &block) end |