# CollapsedMerkleTree

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

A Merkle tree collapsed update between two indices.

```
type CollapsedMerkleTree {

  startIndex: Int!

  endIndex: Int!

  update: HexEncoded!

  protocolVersion: Int!

}
```

### Fields[​](#fields "Direct link to Fields")

#### [`CollapsedMerkleTree.startIndex`](#start-index) ● [`Int!`](https://docs.midnight.network/api-reference/midnight-indexer/types/scalars/int.md) non-null scalar[​](#start-index "Direct link to start-index")

The start index.

#### [`CollapsedMerkleTree.endIndex`](#end-index) ● [`Int!`](https://docs.midnight.network/api-reference/midnight-indexer/types/scalars/int.md) non-null scalar[​](#end-index "Direct link to end-index")

The end index.

#### [`CollapsedMerkleTree.update`](#update) ● [`HexEncoded!`](https://docs.midnight.network/api-reference/midnight-indexer/types/scalars/hex-encoded.md) non-null scalar[​](#update "Direct link to update")

The hex-encoded value.

#### [`CollapsedMerkleTree.protocolVersion`](#protocol-version) ● [`Int!`](https://docs.midnight.network/api-reference/midnight-indexer/types/scalars/int.md) non-null scalar[​](#protocol-version "Direct link to protocol-version")

The protocol version.

### Member Of[​](#member-of "Direct link to Member Of")

[`RelevantTransaction`](https://docs.midnight.network/api-reference/midnight-indexer/types/objects/relevant-transaction.md) object
