Sha256: e3bbf323fcc22a30bc1aa5ba298b594d035a51e6ff1782cdf4dda899e95dcdaf

Contents?: true

Size: 588 Bytes

Versions: 2

Compression:

Stored size: 588 Bytes

Contents

# frozen_string_literal: true

module Harmony
  module Api
    module V1
      module Staking
        module Utility
          def get_current_utility_metrics
            response(post('getCurrentUtilityMetrics'))
          end

          def get_super_committees
            response(post('getSuperCommittees'))
          end

          def get_staking_network_info
            response(post('getStakingNetworkInfo'))
          end

          def get_median_raw_stake_snapshot
            response(post('getMedianRawStakeSnapshot'))
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
harmony-api-0.1.4 lib/harmony/api/v1/staking/utility.rb
harmony-api-0.1.3 lib/harmony/api/v1/staking/utility.rb