class EtherClient::Api::PoolApi
Public Instance Methods
credits()
click to toggle source
# File lib/etherclient/api/pool_api.rb, line 8 def credits array = ethpool_request("credits") EtherClient::Model::PoolCredit.all(array) end
hashrate()
click to toggle source
# File lib/etherclient/api/pool_api.rb, line 23 def hashrate array = ethermine_request("servers/history") EtherClient::Model::PoolHashrate.all(array) end
mined_blocks()
click to toggle source
# File lib/etherclient/api/pool_api.rb, line 13 def mined_blocks array = ethermine_request("blocks/history") EtherClient::Model::PoolMinedBlock.all(array) end
network()
click to toggle source
# File lib/etherclient/api/pool_api.rb, line 18 def network data = ethermine_request("networkStats") EtherClient::Model::PoolNetwork.new(data) end
statistics()
click to toggle source
# File lib/etherclient/api/pool_api.rb, line 3 def statistics data = ethermine_request("poolStats") EtherClient::Model::PoolStatistic.new(data) end