---
title: "Interface: PlainBlockCommonFields"
canonical_url: "https://nimiq.dev/web-client/reference/interfaces/plainblockcommonfields"
---
# Interface: PlainBlockCommonFields

[@nimiq/core](../globals) / PlainBlockCommonFields

Defined in: @nimiq/core/types/wasm/web.d.ts:261

JSON-compatible and human-readable format of blocks.

## Extended by

- [`PlainMacroBlock`](PlainMacroBlock)
- [`PlainMicroBlock`](PlainMicroBlock)

## Properties

### batch

> **batch**: `number`

Defined in: @nimiq/core/types/wasm/web.d.ts:277

The batch number that the block is in.

---

### bodyHash

> **bodyHash**: `string`

Defined in: @nimiq/core/types/wasm/web.d.ts:318

The root of the Merkle tree of the body, in HEX format. It acts as a commitment to the body.

---

### epoch

> **epoch**: `number`

Defined in: @nimiq/core/types/wasm/web.d.ts:281

The epoch number that the block is in.

---

### extraData

> **extraData**: `string`

Defined in: @nimiq/core/types/wasm/web.d.ts:310

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.

---

### hash

> **hash**: `string`

Defined in: @nimiq/core/types/wasm/web.d.ts:265

The block's unique hash, used as its identifier, in HEX format.

---

### height

> **height**: `number`

Defined in: @nimiq/core/types/wasm/web.d.ts:273

The block's block height, also called block number.

---

### historyHash

> **historyHash**: `string`

Defined in: @nimiq/core/types/wasm/web.d.ts:322

A Merkle root over all of the transactions that happened in the current epoch, in HEX format.

---

### network

> **network**: `string`

Defined in: @nimiq/core/types/wasm/web.d.ts:289

The network that this block is valid for.

---

### prevHash

> **prevHash**: `string`

Defined in: @nimiq/core/types/wasm/web.d.ts:297

The hash of the header of the immediately preceding block (either micro or macro), in HEX format.

---

### seed

> **seed**: `string`

Defined in: @nimiq/core/types/wasm/web.d.ts:302

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.

---

### size

> **size**: `number`

Defined in: @nimiq/core/types/wasm/web.d.ts:269

The block's on-chain size, in bytes.

---

### stateHash

> **stateHash**: `string`

Defined in: @nimiq/core/types/wasm/web.d.ts:314

The root of the Merkle tree of the blockchain state, in HEX format. It acts as a commitment to the state.

---

### timestamp

> **timestamp**: `number`

Defined in: @nimiq/core/types/wasm/web.d.ts:285

The timestamp of the block. It follows the Unix time and has millisecond precision.

---

### version

> **version**: `number`

Defined in: @nimiq/core/types/wasm/web.d.ts:293

The protocol version that this block is valid for.


## Sitemap

See the full [sitemap](https://nimiq.dev/sitemap.md) for all pages.
