ethstats / org.apache.tuweni.ethstats / BlockStats / <init>

<init>

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!>!)

Default constructor.

Parameters

blockNumber - UInt256!: the block number

hash - Hash!: the block hash

parentHash - Hash!: the hash of the parent block, or null.

timestamp - Long: the timestamp of the block

miner - Address!: the coinbase address of the block

gasUsed - Long: the gas used by the block

gasLimit - Long: the gas limit of the block

difficulty - UInt256!: the difficulty of the block

totalDifficulty - UInt256!: the total difficulty up to this block (including this block)

transactions - MutableList<TxStats!>!: the list of transaction hashes associated with the block

transactionsRoot - Hash!: the hash root of transactions

stateRoot - Hash!: the hash root of the state

uncles - MutableList<BlockHeader!>!: the block ommers associated with this block