ethstats / org.apache.tuweni.ethstats / NodeStats

NodeStats

class NodeStats (source)

Constructors

<init>

NodeStats(active: Boolean, syncing: Boolean, mining: Boolean, hashrate: Int, peerCount: Int, gasPrice: Int, uptime: Int)

Functions

getGasPrice

fun getGasPrice(): Int

getHashrate

fun getHashrate(): Int

getPeerCount

fun getPeerCount(): Int

getUptime

fun getUptime(): Int

isActive

fun isActive(): Boolean

isMining

fun isMining(): Boolean

isSyncing

fun isSyncing(): Boolean