# MerkleTreeCollapsedUpdate

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

A Merkle tree collapsed update between two indices.

```
type MerkleTreeCollapsedUpdate {

  startIndex: Int!

  endIndex: Int!

  update: HexEncoded!

  protocolVersion: Int!

}
```

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

#### [`MerkleTreeCollapsedUpdate.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.

#### [`MerkleTreeCollapsedUpdate.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.

#### [`MerkleTreeCollapsedUpdate.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.

#### [`MerkleTreeCollapsedUpdate.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.

### Returned By[​](#returned-by "Direct link to Returned By")

[`dustCommitmentMerkleTreeUpdate`](https://docs.midnight.network/api-reference/midnight-indexer/operations/queries/dust-commitment-merkle-tree-update.md) query ● [`dustGenerationMerkleTreeUpdate`](https://docs.midnight.network/api-reference/midnight-indexer/operations/queries/dust-generation-merkle-tree-update.md) query ● [`zswapMerkleTreeCollapsedUpdate`](https://docs.midnight.network/api-reference/midnight-indexer/operations/queries/zswap-merkle-tree-collapsed-update.md) query

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

[`DustGenerationsItem`](https://docs.midnight.network/api-reference/midnight-indexer/types/objects/dust-generations-item.md) object ● [`DustGenerationsProgress`](https://docs.midnight.network/api-reference/midnight-indexer/types/objects/dust-generations-progress.md) object ● [`RelevantTransaction`](https://docs.midnight.network/api-reference/midnight-indexer/types/objects/relevant-transaction.md) object
