BlockHeader(@Nullable parentHash: Hash?, ommersHash: Hash, coinbase: Address, stateRoot: Hash, transactionsRoot: Hash, receiptsRoot: Hash, logsBloom: Bytes, difficulty: UInt256, number: UInt256, gasLimit: Gas, gasUsed: Gas, timestamp: Instant, extraData: Bytes, mixHash: Hash, nonce: Bytes)
Creates a new block header.
parentHash
- the parent hash, or null.
coinbase
- the block's beneficiary address.
stateRoot
- the hash associated with the state tree.
transactionsRoot
- the hash associated with the transactions tree.
receiptsRoot
- the hash associated with the transaction receipts tree.
logsBloom
- the bloom filter of the logs of the block.
difficulty
- the difficulty of the block.
number
- the number of the block.
gasLimit
- the gas limit of the block.
gasUsed
- the gas used for the block.
timestamp
- the timestamp of the block.
extraData
- the extra data stored with the block.
mixHash
- the hash associated with computional work on the block.