class EthermineApi::Pool

Public Class Methods

blocks_history(options={}) click to toggle source
# File lib/ethermine_api/pool.rb, line 16
def blocks_history options={}
  DefaultParser.parse(
    EthermineApi.connection(options[:base_url]).call("blocks/history")
  )
end
credits(options={}) click to toggle source
# File lib/ethermine_api/pool.rb, line 10
def credits options={}
  DefaultParser.parse(
    EthermineApi.connection(options[:base_url]).call("credits")
  )
end
network_stats(options={}) click to toggle source
# File lib/ethermine_api/pool.rb, line 22
def network_stats options={}
  DefaultParser.parse(
    EthermineApi.connection(options[:base_url]).call("networkStats")
  )
end
servers_history(options={}) click to toggle source
# File lib/ethermine_api/pool.rb, line 28
def servers_history options={}
  DefaultParser.parse(
    EthermineApi.connection(options[:base_url]).call("servers/history")
  )
end
stats(options={}) click to toggle source
# File lib/ethermine_api/pool.rb, line 4
def stats options={}
  DefaultParser.parse(
    EthermineApi.connection(options[:base_url]).call("poolStats")
  )
end