RpcOptionalHeader (TypedDict)¶
Bases: TypedDict
Represents a block header with optional fields populated based on verbosity level.
Fields are included based on the RpcDataVerbosityLevel specified in the request. Each attribute is only populated when the verbosity level meets or exceeds the required level for that field.
| ATTRIBUTE | DESCRIPTION |
|---|---|
hash |
The block hash. Level: None (always included).
TYPE:
|
version |
Block version number. Level: Low.
TYPE:
|
parentsByLevel |
Compressed parent block hashes by level. Level: High.
TYPE:
|
hashMerkleRoot |
Merkle root of block hashes. Level: High.
TYPE:
|
acceptedIdMerkleRoot |
Merkle root of accepted transaction IDs. Level: High.
TYPE:
|
utxoCommitment |
UTXO commitment hash. Level: Full.
TYPE:
|
timestamp |
Block timestamp in milliseconds. Level: Low.
TYPE:
|
bits |
Difficulty target bits. Level: Low.
TYPE:
|
nonce |
Block nonce. Level: Low.
TYPE:
|
daaScore |
Difficulty adjustment algorithm score. Level: Low.
TYPE:
|
blueWork |
Cumulative blue work. Level: Low.
TYPE:
|
blueScore |
Blue score of the block. Level: Low.
TYPE:
|
pruningPoint |
Pruning point block hash. Level: Full.
TYPE:
|