Module: Harmony::Api::V1::Misc::Utility

Included in:
Client
Defined in:
lib/harmony/api/v1/misc/utility.rb

Instance Method Summary collapse

Instance Method Details

#get_circulating_supplyObject



8
9
10
# File 'lib/harmony/api/v1/misc/utility.rb', line 8

def get_circulating_supply
  response(post('getCirculatingSupply'))&.to_f
end

#get_total_supplyObject



12
13
14
# File 'lib/harmony/api/v1/misc/utility.rb', line 12

def get_total_supply
  response(post('getTotalSupply'))&.to_f
end