---
title: "getBlockByHash"
method: GET
path: "/v1/blocks/{stateHash}"
tags: ["Blocks"]
---

# getBlockByHash

`GET /v1/blocks/{stateHash}`

Get block details by block state hash.

## Path parameters

- `stateHash` string, required — Block hash.

## Response `200`

OK

- BlockViewDto
  - `timestamp` integer
  - `blockHeight` integer
  - `transactionsCount` integer
  - `isCanonical` integer
  - `snarkersFee` number
  - `transactionsFee` number
  - `stateHash` string
  - `parentHash` string
  - `stagedLedgerHash` string
  - `snarkedLedgerHash` string
  - `globalSlot` integer
  - `globalSlotSinceGenesis` integer
  - `accountAddress` string
  - `accountName` string
  - `accountImg` string
  - `coinbase` number
  - `coinbaseReceiver` string
  - `coinbaseReceiverName` string
  - `coinbaseReceiverImg` string
  - `winnerAddress` string
  - `winnerName` string
  - `winnerImg` string

---

[API](https://skmtc.net/blockberry/apis/sui-mainnet-api.md) · [All operations](https://skmtc.net/blockberry/apis/sui-mainnet-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blockberry/sui-mainnet-api/revisions/3e4cb73940b7/schema)
