From 2b64fa3251ac5ff4b4d174f1f0be7226490dce87 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 12 Oct 2021 02:56:48 +0000 Subject: Update REST docs with new accessors --- doc/REST-interface.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/REST-interface.md b/doc/REST-interface.md index 8b281acca7..51a73b89fc 100644 --- a/doc/REST-interface.md +++ b/doc/REST-interface.md @@ -52,6 +52,20 @@ With the /notxdetails/ option JSON response will only contain the transaction ha Given a block hash: returns amount of blockheaders in upward direction. Returns empty if the block doesn't exist or it isn't in the active chain. +#### Blockfilter Headers +`GET /rest/blockfilterheaders///.` + +Given a block hash: returns amount of blockfilter headers in upward +direction for the filter type . +Returns empty if the block doesn't exist or it isn't in the active chain. + +#### Blockfilters +`GET /rest/blockfilter//.` + +Given a block hash: returns the block filter of the given block of type +. +Responds with 404 if the block doesn't exist. + #### Blockhash by height `GET /rest/blockhashbyheight/.` -- cgit v1.2.3