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