Method: Hive::Broadcast.request_account_recovery
- Defined in:
- lib/hive/broadcast.rb
.request_account_recovery(options, &block) ⇒ Object
All account recovery requests come from a listed recovery account.
897 898 899 900 901 902 903 904 905 906 |
# File 'lib/hive/broadcast.rb', line 897 def self.request_account_recovery(, &block) required_fields = %i(recovery_account account_to_recover new_owner_authority) params = [:params] check_required_fields(params, *required_fields) params[:extensions] ||= [] ops = [[:request_account_recovery, params]] process(.merge(ops: ops), &block) end |