ethstats / org.apache.tuweni.ethstats / BlockStats

BlockStats

class BlockStats (source)

Block statistics reported to ethnetstats.

Constructors

<init>

Default constructor.

BlockStats(blockNumber: UInt256!, hash: Hash!, parentHash: Hash!, timestamp: Long, miner: Address!, gasUsed: Long, gasLimit: Long, difficulty: UInt256!, totalDifficulty: UInt256!, transactions: MutableList<TxStats!>!, transactionsRoot: Hash!, stateRoot: Hash!, uncles: MutableList<BlockHeader!>!)

Functions

getBlockNumber

fun getBlockNumber(): Long

getDifficulty

fun getDifficulty(): String!

getGasLimit

fun getGasLimit(): Long

getGasUsed

fun getGasUsed(): Long

getHash

fun getHash(): String!

getMiner

fun getMiner(): Address!

getParentHash

fun getParentHash(): Hash!

getStateRoot

fun getStateRoot(): Hash!

getTimestamp

fun getTimestamp(): Long

getTotalDifficulty

fun getTotalDifficulty(): String!

getTransactions

fun getTransactions(): MutableList<TxStats!>!

getTransactionsRoot

fun getTransactionsRoot(): String!

getUncles

fun getUncles(): MutableList<BlockHeader!>!