---
title: "Get consensus state"
method: GET
path: "/bus/consensus/state"
tags: ["bus"]
---

# Get consensus state

`GET /bus/consensus/state`

Returns the current block height and the time at which the last block got mined, along with a boolean indicating whether the node is synced. A node is considered synced if the last block time is less than three hours ago.

## Response `200`

Successfully retrieved consensus state

- ConsensusState
  - `blockHeight` integer — The current block height
  - `lastBlockTime` string, date-time — The time of the last block
  - `synced` boolean — Whether the node is synced with the network

## Other responses

- `500` — Internal server error

---

[API](https://skmtc.net/siafoundation/apis/renterd-api.md) · [All operations](https://skmtc.net/siafoundation/apis/renterd-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/siafoundation/renterd-api/versions/184a3d5207da/schema)
