---
title: "Last block state hash"
method: GET
path: "/debug/stateHash/last"
tags: ["debug"]
---

# Last block state hash

`GET /debug/stateHash/last`

Get state hash of the last block. Available only if node configuration contains `waves.db.store-state-hashes = true` option

## 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

- **2022-08-30** `d6f5a027bea0` — 1 info
  - endpoint added
- **2021-05-27** `c901f97e3a8d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/wavesplatform/apis/waves-full-node-chainid/changes/debug/stateHash/last/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/26c5120a809c/schema)
