Module: Harmony::Api::V1::Staking::Utility
- Included in:
- Client
- Defined in:
- lib/harmony/api/v1/staking/utility.rb
Instance Method Summary collapse
- #get_current_utility_metrics ⇒ Object
- #get_median_raw_stake_snapshot ⇒ Object
- #get_staking_network_info ⇒ Object
- #get_super_committees ⇒ Object
Instance Method Details
#get_current_utility_metrics ⇒ Object
8 9 10 |
# File 'lib/harmony/api/v1/staking/utility.rb', line 8 def get_current_utility_metrics response(post('getCurrentUtilityMetrics')) end |
#get_median_raw_stake_snapshot ⇒ Object
20 21 22 |
# File 'lib/harmony/api/v1/staking/utility.rb', line 20 def get_median_raw_stake_snapshot response(post('getMedianRawStakeSnapshot')) end |
#get_staking_network_info ⇒ Object
16 17 18 |
# File 'lib/harmony/api/v1/staking/utility.rb', line 16 def get_staking_network_info response(post('getStakingNetworkInfo')) end |
#get_super_committees ⇒ Object
12 13 14 |
# File 'lib/harmony/api/v1/staking/utility.rb', line 12 def get_super_committees response(post('getSuperCommittees')) end |