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.
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.
Example
{
"creatorPubKey": "48YQpehoRDYsivCbnedrz19DfTvh345PwWAKGN3jdUjPNdG3Lte",
"difficulty": "0x989680",
"extra": "0x",
"nonce": "0x61879fb427b56cef",
"number": "0x2",
"parentHash": "0x211df3aed05b45d620850f40c9b4eac006da7ee0f76a7fa99d5ac16a2c2ca42c",
"stateRoot": "0xc222870b2ca3f71d30b8d06b8e3f633812a8c0473cecc38b6fcc12eb5cad89ec",
"timestamp": "0x5bda0ad4",
"totalDifficulty": "0x1312d00",
"transactionsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
Last updated
Was this helpful?