data class BlockStats
(source)
Block statistics reported to ethnetstats.
parentHash
- the hash of the parent block, or null.
timestamp
- the timestamp of the block
miner
- the coinbase address of the block
gasUsed
- the gas used by the block
gasLimit
- the gas limit of the block
difficulty
- the difficulty of the block
totalDifficulty
- the total difficulty up to this block (including this block)
transactions
- the list of transaction hashes associated with the block
transactionsRoot
- the hash root of transactions
stateRoot
- the hash root of the state
uncles
- the block ommers associated with this block
<init> |
Block statistics reported to ethnetstats. BlockStats(number: UInt256, hash: Hash, parentHash: Hash, timestamp: Long, miner: Address, gasUsed: Long, gasLimit: Long, difficulty: UInt256, totalDifficulty: UInt256, transactions: List<TxStats>, transactionsRoot: Hash, stateRoot: Hash, uncles: List<Hash>) |
difficulty |
the difficulty of the block val difficulty: UInt256 |
gasLimit |
the gas limit of the block val gasLimit: Long |
gasUsed |
the gas used by the block val gasUsed: Long |
hash |
the block hash val hash: Hash |
miner |
the coinbase address of the block val miner: Address |
number |
the block number val number: UInt256 |
parentHash |
the hash of the parent block, or null. val parentHash: Hash |
stateRoot |
the hash root of the state val stateRoot: Hash |
timestamp |
the timestamp of the block val timestamp: Long |
totalDifficulty |
the total difficulty up to this block (including this block) val totalDifficulty: UInt256 |
transactions |
the list of transaction hashes associated with the block val transactions: List<TxStats> |
transactionsRoot |
the hash root of transactions val transactionsRoot: Hash |
uncles |
the block ommers associated with this block val uncles: List<Hash> |
getBlockNumber |
fun getBlockNumber(): Long |