Skip to content

Commit be625f7

Browse files
committed
doc: Explain empty result of /rest/headers
1 parent acec9e4 commit be625f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/REST-interface.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ With the /notxdetails/ option JSON response will only contain the transaction ha
3636
`GET /rest/headers/<COUNT>/<BLOCK-HASH>.<bin|hex|json>`
3737

3838
Given a block hash: returns <COUNT> amount of blockheaders in upward direction.
39+
Returns empty if the block doesn't exist or it isn't in the active chain.
3940

4041
#### Chaininfos
4142
`GET /rest/chaininfo.json`

0 commit comments

Comments
 (0)