---
title: "State hash"
method: GET
path: "/debug/stateHash/{height}"
tags: ["debug"]
---

# State hash

`GET /debug/stateHash/{height}`

Get state hash at height. Available only if node configuration contains `waves.db.store-state-hashes = true` option

## Path parameters

- `height` integer, required

## Response `200`

State hash

- object
  - `blockId` string
  - `wavesBalanceHash` string
  - `assetsBalanceHash` string
  - `dataEntryHash` string
  - `accountScriptHash` string
  - `assetScriptHash` string
  - `leaseBalanceHash` string
  - `leaseStatusHash` string
  - `sponsorshipHash` string
  - `aliasHash` string
  - `stateHash` string

## Changes

- **2021-05-27** `c901f97e3a8d` — 11 breaking, 2 warning
  - the response property `accountScriptHash` became optional for the status `200`
  - the response property `aliasHash` became optional for the status `200`
  - the response property `assetScriptHash` became optional for the status `200`
  - the response property `assetsBalanceHash` became optional for the status `200`
  - …9 more

[Change history](https://skmtc.dev/wavesplatform/apis/waves-full-node-chainid/changes/debug/stateHash/:height/get.md)

---

[API](https://skmtc.dev/wavesplatform/apis/waves-full-node-chainid.md) · [All operations](https://skmtc.dev/wavesplatform/apis/waves-full-node-chainid/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wavesplatform/waves-full-node-chainid/revisions/c901f97e3a8d/schema)
