You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ChangeLog.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
## [unreleased]
4
4
5
+
- Add `GET` endpoint `/v0/consensusInfo` for getting the current consensus status from the node, including last finalized block, best block, protocol version, and timing parameters.
6
+
5
7
## [0.45.0] - 2026-02-23
6
8
7
9
- Add `GET` endpoint `/v0/genesisHash` for getting the genesis block hash for the connected network.
Copy file name to clipboardExpand all lines: README.md
+48Lines changed: 48 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,7 @@ cooldowns and the available balance) and get the info if an account is on any al
53
53
*`GET /v0/keyAccounts/{public key}`: get accounts associated with a given public key. Optionally filter the result for simple accounts.
54
54
*`POST /v0/transakOnRamp`: create a URL to initiate purchasing CCDs through the Transak on-ramp.
55
55
*`GET /v0/genesisHash`: get the genesis block hash for the connected network.
56
+
*`GET /v0/consensusInfo`: get the current consensus status from the node.
56
57
57
58
### Errors
58
59
@@ -1496,6 +1497,53 @@ Example response:
1496
1497
}
1497
1498
```
1498
1499
1500
+
## Consensus info
1501
+
1502
+
A GET request to `/v0/consensusInfo` returns the current consensus status from the node.
1503
+
1504
+
The response always includes:
1505
+
1506
+
| Field | Type | Description |
1507
+
|---|---|---|
1508
+
|`bestBlock`| string (hex) | Hash of the current best block |
1509
+
|`bestBlockHeight`| number | Absolute height of the best block |
1510
+
|`genesisBlock`| string (hex) | Hash of the genesis block |
1511
+
|`genesisTime`| string (ISO 8601) | Timestamp of the genesis block |
1512
+
|`lastFinalizedBlock`| string (hex) | Hash of the last finalized block |
1513
+
|`lastFinalizedBlockHeight`| number | Absolute height of the last finalized block |
1514
+
|`lastFinalizedTime`| string (ISO 8601) or null | Time of last verified finalization |
1515
+
|`epochDuration`| number | Current epoch duration in milliseconds |
1516
+
|`protocolVersion`| number | Currently active protocol version |
1517
+
|`genesisIndex`| number | Number of chain restarts via protocol updates |
1518
+
|`currentEraGenesisBlock`| string (hex) | Genesis block hash of the current era |
1519
+
|`currentEraGenesisTime`| string (ISO 8601) | Start time of the current era |
1520
+
1521
+
Additionally, `slotDuration` (slot duration in milliseconds) is included for protocol versions 1–5, and `concordiumBFTStatus` is included for protocol version 6 and later.
0 commit comments