Interface: PlainBlockCommonFields
JSON-compatible and human-readable format of blocks.
Extended by
Properties
batch
batch:
number
The batch number that the block is in.
Defined in
@nimiq/core/types/wasm/web.d.ts:369
bodyHash
bodyHash:
string
The root of the Merkle tree of the body, in HEX format. It acts as a commitment to the body.
Defined in
@nimiq/core/types/wasm/web.d.ts:410
epoch
epoch:
number
The epoch number that the block is in.
Defined in
@nimiq/core/types/wasm/web.d.ts:373
extraData
extraData:
string
The extra data of the block, in HEX format. Up to 32 raw bytes.
In the genesis block, it encodes the initial supply as a big-endian u64
.
No planned use otherwise.
Defined in
@nimiq/core/types/wasm/web.d.ts:402
hash
hash:
string
The block's unique hash, used as its identifier, in HEX format.
Defined in
@nimiq/core/types/wasm/web.d.ts:357
height
height:
number
The block's block height, also called block number.
Defined in
@nimiq/core/types/wasm/web.d.ts:365
historyHash
historyHash:
string
A Merkle root over all of the transactions that happened in the current epoch, in HEX format.
Defined in
@nimiq/core/types/wasm/web.d.ts:414
network
network:
string
The network that this block is valid for.
Defined in
@nimiq/core/types/wasm/web.d.ts:381
prevHash
prevHash:
string
The hash of the header of the immediately preceding block (either micro or macro), in HEX format.
Defined in
@nimiq/core/types/wasm/web.d.ts:389
seed
seed:
string
The seed of the block. This is the BLS signature of the seed of the immediately preceding block (either micro or macro) using the validator key of the block producer.
Defined in
@nimiq/core/types/wasm/web.d.ts:394
size
size:
number
The block's on-chain size, in bytes.
Defined in
@nimiq/core/types/wasm/web.d.ts:361
stateHash
stateHash:
string
The root of the Merkle tree of the blockchain state, in HEX format. It acts as a commitment to the state.
Defined in
@nimiq/core/types/wasm/web.d.ts:406
timestamp
timestamp:
number
The timestamp of the block. It follows the Unix time and has millisecond precision.
Defined in
@nimiq/core/types/wasm/web.d.ts:377
version
version:
number
The protocol version that this block is valid for.
Defined in
@nimiq/core/types/wasm/web.d.ts:385