diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2018-09-29 21:45:43 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2019-01-21 11:54:54 -1000 |
commit | 42ff30ec60c6ab6a9555da57a435b09cf217ee84 (patch) | |
tree | 3a93ce5d199686245071f0e389d978f24c8a94e8 | |
parent | 579d418f74fc803b0e55ae549b5fc0bec92b796c (diff) |
[Docs] add short documentation for /rest/blockhashbyheight
-rw-r--r-- | doc/REST-interface.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/REST-interface.md b/doc/REST-interface.md index 7010edfcd3..d33165cb82 100644 --- a/doc/REST-interface.md +++ b/doc/REST-interface.md @@ -31,6 +31,11 @@ With the /notxdetails/ option JSON response will only contain the transaction ha Given a block hash: returns <COUNT> amount of blockheaders in upward direction. +#### Blockhash by height +`GET /rest/blockhashbyheight/<HEIGHT>.<bin|hex|json>` + +Given a height: returns hash of block in best-block-chain at height provided. + #### Chaininfos `GET /rest/chaininfo.json` |