Header
The section describes the block header object.
Overview
The header is an data structure that describes a block. It includes information about the block, the transactions contained in the block, the current state of the chain in which the block belongs to.
Structure
Field | Type | Description |
creatorPubKey | String | The public key of the block creator. |
difficulty | The difficulty of the block. | |
totalDifficulty | The cumulative difficulty of all blocks in the chain. | |
nonce | The nonce discovered during PoW computation. | |
number | The block's number. | |
parentHash | String | The hash of the parent block. |
stateRoot | String | The merkle hash of the state tree. |
transactionsRoot | String | The merkle root of transactions in the block. |
timestamp | The unix timestamp of when the block was created. | |
extra | [32]HexByte | Extra data for future use. |
Example
Last updated