Skip to content

Commit 42ff30e

Browse files
committed
[Docs] add short documentation for /rest/blockhashbyheight
1 parent 579d418 commit 42ff30e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/REST-interface.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ With the /notxdetails/ option JSON response will only contain the transaction ha
3131

3232
Given a block hash: returns <COUNT> amount of blockheaders in upward direction.
3333

34+
#### Blockhash by height
35+
`GET /rest/blockhashbyheight/<HEIGHT>.<bin|hex|json>`
36+
37+
Given a height: returns hash of block in best-block-chain at height provided.
38+
3439
#### Chaininfos
3540
`GET /rest/chaininfo.json`
3641

0 commit comments

Comments
 (0)